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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.logo {
    text-align: center;
    margin-bottom: 32px;
}

.logo-img {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

.logo h1 {
    font-size: 32px;
    color: #1a202c;
    margin-bottom: 8px;
}

.logo p {
    color: #718096;
    font-size: 14px;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e2e8f0;
}

.tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #718096;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
}

.tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.form-container {
    display: none;
}

.form-container.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

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

.form-group small {
    display: block;
    margin-top: 4px;
    color: #718096;
    font-size: 12px;
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #48bb78;
    color: white;
    margin-top: 8px;
}

.btn-secondary:hover {
    background: #38a169;
}

.btn-google {
    background: white;
    color: #1a202c;
    border: 2px solid #e2e8f0;
    margin-bottom: 12px;
}

.btn-google:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.btn-linkedin {
    background: #0A66C2;
    color: white;
}

.btn-linkedin:hover {
    background: #004182;
}

.btn-link {
    background: none;
    color: #667eea;
    text-decoration: underline;
    margin-top: 16px;
}

.btn-link:hover {
    color: #5568d3;
}

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

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

.divider span {
    padding: 0 16px;
}

.social-auth {
    margin-top: 16px;
}

.message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.message.show {
    display: block;
}

.message.error {
    background: #fed7d7;
    color: #c53030;
    border: 1px solid #fc8181;
}

.message.success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #68d391;
}

.message.info {
    background: #bee3f8;
    color: #2c5282;
    border: 1px solid #63b3ed;
}

/* Success page styles */
.success-content {
    text-align: center;
}

.info-box {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.info-box h3 {
    color: #2d3748;
    margin-bottom: 8px;
}

.info-box p {
    color: #718096;
}

.url-params {
    background: #1a202c;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: left;
}

.url-params h4 {
    color: #e2e8f0;
    margin-bottom: 12px;
    font-size: 14px;
}

.url-params pre {
    color: #48bb78;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 12px;
    overflow-x: auto;
}

.actions {
    margin-top: 24px;
}

.dev-tools {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    margin: 16px 0;
    text-align: left;
}

.dev-tools h4 {
    color: #2d3748;
    margin-bottom: 12px;
}

.dev-tools p {
    color: #718096;
    margin-bottom: 8px;
    font-size: 14px;
}

.dev-tools input {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 8px;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 24px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
}
