/* Agentic Authentication Styles - Targets actual rendered HTML */

/* Center the auth container */
.agentic-auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 1rem;
}

/* Auth card styling */
.auth-card {
    max-width: 450px;
    width: 100%;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
}

/* Auth header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.auth-header p {
    color: #6b7280;
    margin: 0;
}

/* Social authentication buttons container */
.auth-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Individual social auth button */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    background: white;
    color: #374151;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
}

.social-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

/* Icon styling */
.social-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Specific provider colors */
.social-btn-google:hover {
    border-color: #4285f4;
    color: #4285f4;
}

.social-btn-github:hover {
    border-color: #333;
    color: #333;
}

.social-btn-wordpress:hover {
    border-color: #0073aa;
    color: #0073aa;
}

.social-btn-twitter:hover {
    border-color: #1da1f2;
    color: #1da1f2;
}

/* Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    position: relative;
    padding: 0 1rem;
    background: white;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Form styling */
.auth-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.9375rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Inline form group (remember me checkbox) */
.form-group-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #374151;
}

.forgot-link {
    font-size: 0.9375rem;
    color: #3b82f6;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Button styling */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-block {
    width: 100%;
    display: block;
}

/* Auth footer */
.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.auth-footer p {
    color: #6b7280;
    font-size: 0.9375rem;
    margin: 0;
}

.auth-footer a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .agentic-auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
    }
}

/* Inline form error */
.auth-error {
    background: rgba(214, 54, 56, 0.08);
    border: 1px solid rgba(214, 54, 56, 0.35);
    border-radius: 6px;
    color: #d63638;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 16px;
    padding: 10px 14px;
    text-align: center;
}
.auth-error a {
    color: #d63638;
    text-decoration: underline;
}

/* Inline form success */
.auth-success {
    background: rgba(0, 163, 81, 0.08);
    border: 1px solid rgba(0, 163, 81, 0.35);
    border-radius: 6px;
    color: #00a351;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 16px;
    padding: 10px 14px;
    text-align: center;
}
