* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 400px;
    max-width: 90%;
    text-align: center;
}

.login-container h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 8px;
}

.login-container .subtitle {
    color: #888;
    font-size: 14px;
    margin-bottom: 32px;
}

.login-container .logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-group label {
    display: block;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus {
    border-color: #667eea;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
    margin-top: 8px;
}

.btn-login:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #aaa;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    padding: 0 12px;
}

.btn-google {
    width: 100%;
    padding: 12px;
    background: white;
    color: #555;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google:hover {
    background: #f8f8f8;
    border-color: #ccc;
}

.btn-google .google-icon {
    width: 20px;
    height: 20px;
}

/* Dashboard styles */
.dashboard-container {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 500px;
    max-width: 90%;
    text-align: center;
}

.dashboard-container h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 8px;
}

.dashboard-container .subtitle {
    color: #888;
    font-size: 14px;
    margin-bottom: 24px;
}

.user-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.user-card img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid #667eea;
}

.user-card .user-info h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 4px;
}

.user-card .user-info p {
    color: #888;
    font-size: 13px;
    margin-bottom: 2px;
}

.btn-logout {
    padding: 10px 24px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-logout:hover {
    opacity: 0.85;
}

.error-container {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 400px;
    max-width: 90%;
    text-align: center;
}

.error-container h1 {
    color: #f44336;
    font-size: 24px;
    margin-bottom: 12px;
}

.error-container p {
    color: #666;
    margin-bottom: 20px;
}

.error-container a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.error-container a:hover {
    text-decoration: underline;
}

/* Error message on login page */
.error-message {
    background: #fff3f3;
    border: 1px solid #ffcdd2;
    color: #c62828;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    text-align: left;
    line-height: 1.5;
}

/* Info table styles */
.info-table {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    width: 100%;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
}

.info-table table tr {
    border-bottom: 1px solid #e8e8e8;
}

.info-table table tr:last-child {
    border-bottom: none;
}

.info-table table td {
    padding: 10px 8px;
    font-size: 13px;
    color: #555;
    text-align: left;
    vertical-align: top;
}

.info-table table td.label {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    width: 140px;
}

.info-table table td.break-all {
    word-break: break-all;
}
