/* Auth Template Styles for File Circle */

/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    background: #f8fafc;
    color: #333;

    line-height: 1.5;
}

/* Auth Container Layout */
.fc-auth-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    background: #fff;
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
}

.fc-auth-content {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.fc-auth-inner {
    width: 100%;
    max-width: 480px;
    padding: 40px 20px;
}

.fc-auth-image {
    width: 45%;
    background: url('../image/loginbg.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-auth-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 204, 113, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.fc-auth-image-content {
    color: white;
    text-align: left;
    max-width: 400px;
}

.fc-auth-image-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.fc-auth-image-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* Auth Card Styling */
.fc-auth-card {
    width: 100%;
}

.fc-auth-logo {
    height: auto;
    width: 150px;
    margin-bottom: 40px;
}

.fc-auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
    text-align: left;
}

.fc-auth-subtitle {
    color: #64748b;
    font-size: 16px;
    margin: 0 0 5px;
    text-align: left;
}

/* Form Styling */
.fc-auth-form {
    margin-bottom: 10px;
}

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

.fc-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #475569;
}

.fc-auth-form input[type="text"],
.fc-auth-form input[type="email"],
.fc-auth-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    color: #1e293b;
    background: #fff;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.fc-auth-form input:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

.fc-auth-form input::placeholder {
    color: #94a3b8;
}

.fc-password-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.fc-forgot-link {
    font-size: 14px;
    color: #2ecc71;
    text-decoration: none;
    font-weight: 500;
}

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

.fc-remember-me {
    display: flex;
    align-items: center;
    margin: 20px 0;
    font-size: 14px;
    color: #64748b;
}

.fc-remember-me input {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #2ecc71;
}

/* OTP Input Styling */
.fc-otp-input-container {
    display: flex;
    align-items: center;
}

.fc-otp-input-container input {
    font-family: monospace;
    letter-spacing: 1px;
    text-align: left;
}

/* Button Styles */
.fc-auth-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(46, 204, 113, 0.2);
}

.fc-auth-btn:hover {
    background: #27ae60;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.25);
}

.fc-auth-secondary-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #f8f8f8;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.fc-auth-secondary-btn:hover {
    background: #f1f5f9;
}

/* Auth Alternatives */
.fc-auth-alternatives {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

/* OTP Button */
.fc-otp-btn {
    background: #fff;
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.fc-otp-btn:hover {
    background: #f0fff4;
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.1);
}

/* Icon for OTP button */
.fc-icon-otp {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232ecc71'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-14h2v6h-2zm0 8h2v2h-2z'/%3E%3C/svg%3E");
    margin-right: 8px;
    vertical-align: text-bottom;
}

/* Divider */
.fc-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #94a3b8;
    font-size: 14px;
}

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

.fc-divider span {
    padding: 0 15px;
}

/* Google Login Button */
.fc-google-login {
    margin: 0;
}

.fc-google-login button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.fc-google-login button:hover {
    background: #f8fafc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fc-google-login button img {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

/* Auth Links */
.fc-auth-links {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.fc-auth-links a {
    color: #2ecc71;
    text-decoration: none;
    font-weight: 600;
}

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

.fc-auth-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.fc-auth-separator {
    color: #94a3b8;
}

/* Already Logged In State */
.fc-auth-logged-in {
    text-align: center;
    background-color: #f8fafc;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.fc-auth-logged-in p {
    margin: 20px 0 30px;
    font-size: 16px;
    color: #64748b;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .fc-auth-content {
        width: 60%;
    }
    
    .fc-auth-image {
        width: 40%;
    }
}

@media screen and (max-width: 992px) {
    .fc-auth-container {
        flex-direction: column;
    }
    
    .fc-auth-content,
    .fc-auth-image {
        width: 100%;
    }
    
    .fc-auth-content {
        order: 2;
        padding: 40px 20px;
    }
    
    .fc-auth-image {
        height: 240px;
        order: 1; /* Show the image on top in mobile view */
    }
    
    .fc-auth-inner {
        padding: 0;
    }
    
    .fc-auth-image-content h2 {
        font-size: 28px;
    }
    
    .fc-auth-image-content p {
        font-size: 16px;
    }
}

@media screen and (max-width: 576px) {
    .fc-auth-content {
        padding: 30px 16px;
    }
    
    .fc-auth-image {
        height: 180px;
    }
    
    .fc-auth-logo {
        margin-bottom: 20px;
    }
    
    .fc-auth-title {
        font-size: 24px;
        text-align: left;
    }
    
    .fc-auth-subtitle {
        font-size: 14px;
        margin-bottom: 5px;
        text-align: left;
        
    }
    
    .fc-auth-form input {
        padding: 10px 12px;
    }
    
    .fc-auth-btn,
    .fc-auth-secondary-btn {
        padding: 12px;
    }
    
    .fc-auth-image-content h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .fc-auth-image-content p {
        font-size: 14px;
    }
}
