@font-face {
  font-family: "Luciole-Bold";
  src: url("../../fonts/Luciole-Bold.woff2") format("woff2"),
    url("../../fonts/Luciole-Bold.ttf") format("ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Luciole-Regular";
  src: url("../../fonts/Luciole-Regular.woff2") format("woff2"),
    url("../../fonts/Luciole-Regular.ttf") format("ttf");
  font-weight: normal;
  font-style: normal;
}

:root {
    --primary-color: #10c3bd;
    --secondary-color: #1a1a1a;
    --white: #ffffff;
}
/* Sign-in Page Styles - Keka Inspired Design */

/* Main Container */
.sign-in-container {
    min-height: 100vh;
    display: flex;
    background: var(--white);
    overflow: hidden;
}

/* Background Section (Left Side) */
.background-section {
    flex: 1;
    background: linear-gradient(135deg, #10c3bd 0%, #0a9b96 50%, #067a75 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    z-index: 1;
}

.background-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px;
    max-width: 500px;
}

.background-logo img {
    max-width: 200px;
    margin-bottom: 40px;
    filter: brightness(0) invert(1);
}

.background-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    font-family: "Luciole-Bold", sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.background-subtitle {
    font-size: 20px;
    opacity: 0.9;
    line-height: 1.5;
    font-weight: 400;
    font-family: "Luciole-Regular", sans-serif;
}

/* Login Panel (Right Side) */
.login-panel {
    flex: 0 0 40%;
    min-height: 100vh;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.login-content {
    width: 100%;
    max-width: 400px;
}

/* Login Title */
.login-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-family: "Luciole-Bold", sans-serif;
    text-align: left;
}

/* Email Form */
.email-form {
    margin-bottom: 30px;
}

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

.form-label{
    color: rgba(0, 0, 0, 0.55);

    font-size: 15px;
}
.form-control {
    width: 100%;
    border: 1.9px solid #e5e7eb;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--secondary-color);
}



.form-control::placeholder {
    color: #9ca3af;
}

/* Continue Button */
.continue-btn {
    width: 100%;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    /* font-family: "Luciole-Bold", sans-serif; */
}

.continue-btn:hover {
    background: #0a9b96;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 195, 189, 0.3);
}

/* Separator */
.separator {
    position: relative;
    margin: 30px 0;
    text-align: center;
}

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

.separator span {
    background: var(--white);
    color: #6b7280;
    padding: 0 20px;
    font-size: 14px;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* Social Login Options */
.social-login-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: var(--white);
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Luciole-Bold", sans-serif;
    text-align: left;
}

.social-btn:hover {
    border-color: var(--primary-color);
    background: #f8fffe;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 195, 189, 0.1);
}

.social-btn i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.mobile-btn i {
    color: var(--primary-color);
}

.microsoft-btn i {
    color: #00a4ef;
}

.google-btn i {
    color: #4285f4;
}

.username-btn i {
    color: var(--secondary-color);
}

/* App Download Buttons */
.app-downloads {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    background: #1a1a1a;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Luciole-Bold", sans-serif;
    text-align: left;
}

.app-btn:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.app-btn i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.app-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-label {
    font-size: 12px;
    opacity: 0.8;
}

.app-name {
    font-size: 16px;
    font-weight: 600;
}

/* Login Footer */
.login-footer {
    text-align: center;

}
.form-check-label{
      color: #888 !important;
    font-weight: 400;
    margin-left:0px !important;
    font-size: 15px;
}
.footer-logo img {
    max-width: 80px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-text {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 10px;
    font-family: "Luciole-Regular", sans-serif;

}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0a9b96;
    text-decoration: underline;
}
.cls-forgot-password a{
    margin-bottom: 20px;
    font-size: 16px;
    color: #888 !important;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sign-in-container {
    flex-direction: column;
    }

    .background-section {
    flex: 0 0 40%;
    min-height: 40vh;
    }

    .login-panel {
    flex: 1;
    min-height: 60vh;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    }

    .background-title {
    font-size: 36px;
    }

    .background-subtitle {
    font-size: 18px;

    }

    .login-title {
    font-size: 28px;
    text-align: center;
    }
}

@media (max-width: 768px) {
    .background-section {
    flex: 0 0 35%;
    min-height: 35vh;
    }

    .login-panel {
    flex: 1;
    min-height: 65vh;
    padding: 30px 20px;
    }

    .background-content {
    padding: 20px;
    }

    .background-logo img {
    max-width: 150px;
    margin-bottom: 20px;
    }

    .background-title {
    font-size: 28px;
    margin-bottom: 15px;
    }

    .background-subtitle {
    font-size: 16px;
    }

    .login-title {
    font-size: 24px;
    margin-bottom: 30px;
    }

    .form-control {
    padding: 14px 16px;
    font-size: 16px;
    }

    .continue-btn {
    padding: 14px 20px;
    font-size: 16px;
    }

    .social-btn {
    padding: 12px 16px;
    font-size: 15px;
    }

    .app-btn {
    padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .background-section {
    flex: 0 0 30%;
    min-height: 30vh;
    }

    .login-panel {
    flex: 1;
    min-height: 70vh;
    padding: 20px 16px;
    }

    .background-content {
    padding: 16px;
    }

    .background-logo img {
    max-width: 120px;
    margin-bottom: 15px;
    }

    .background-title {
    font-size: 24px;
    margin-bottom: 10px;
    }

    .background-subtitle {
    font-size: 14px;
    }

    .login-title {
    font-size: 22px;
    margin-bottom: 25px;
    }

    .form-control {
    padding: 12px 14px;
    font-size: 16px;
    }

    .continue-btn {
    padding: 12px 18px;
    font-size: 15px;
    }

    .social-btn {
    padding: 10px 14px;
    font-size: 14px;
    }

    .app-btn {
    padding: 10px 14px;
    }

    .app-text .app-label {
    font-size: 11px;
    }

    .app-text .app-name {
    font-size: 14px;
    }

    .footer-text {
    font-size: 11px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
    opacity: 0;
    transform: translateY(30px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

.login-content {
    animation: fadeInUp 0.6s ease-out;
}

.background-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Focus states for accessibility */
.social-btn:focus,
.continue-btn:focus,

.app-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading state for button */
.continue-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.continue-btn:disabled:hover {
    background: var(--primary-color);
    transform: none;
    box-shadow: none;
}

/* Hover effects for background */
.background-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.background-section:hover::before {
    transform: translateX(100%);
}

/* Override layout background */
body {
    background-image: none !important;
}

/* Remember me and forgot password */
.d-flex.flex-stack {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.remember_me {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-check-input {
    margin: 0;
    width:1.50rem;
    height:1.50rem;
    cursor: pointer;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-primary:hover {
    color: #0a9b96 !important;
}

/* Password input with eye */
.fv-row.position-relative {
    position: relative;
}

.btn.btn-sm.btn-icon {
    position: absolute !important;
    right: 10px !important;
    top: 70% !important;
    transform: translateY(-50%) !important;
}

.btn-register{
    background-color: #eee;
    color: #333;
}
.btn-register:hover{
    background-color: #ddd;
    color: #000;
}

#flexCheckDefault{
    /* background: #fff; */
    border: 2px solid #a1a5b7;
}

#flexCheckDefault:checked {
    background-color: #1a73e8;
    border-color: #1a73e8;
}

