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


body {
    font-family: 'Inter', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    /*! background-color: #f5f5f5; */
}

/* Header Styles */
.main-header {
    background-color: #000000;
    padding: 15px 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.logo-icon {
    object-fit: contain;
}

.logo-text {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Alert Container */
.alert-container {
    position: relative;
    padding-left: 30px;
    margin-top: 10px;
}

.alert-arrow {
    position: absolute;
    left: 129px;
    top: -67px;
    height: 123px;
    object-fit: contain;
    z-index: 10;
    transform: rotate(-55deg);
}

.alert-box {
    position: relative;
    padding: 15px 50px 15px 20px;
    margin-left: 180px;
    margin-top: 5px;
    max-width: 400px;
    display: inline-block;
}

.alert-message {
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.alert-message strong {
    font-weight: 600;
    color: #000000;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: #666666;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    padding: 0;
    line-height: 1;
}

.close-btn:hover {
    color: #000000;
}

/* Login Section */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}


.login-form {
    /*! background-color: #ffffff; */
    /*! border-radius: 12px; */
    padding: 40px;
    /*! box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-logo {
    margin-bottom: 30px;
}

.login-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.login-form-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    width: 133%;
    margin-left: -16.5%;
}

.input-container {
    position: relative;
    width: 100%;
}

.email-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 15px;
    background-color: #f5f5f5;
    color: #333333;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.email-input[type="password"],
.email-input[type="text"]:not(.valid-display) {
    padding-right: 50px;
}

.email-input:hover {
    background-color: #f2f4f7;
}

.email-input:focus {
    outline: none;
    border: 2px solid #333333;
    background-color: #ffffff;
}

.email-input:active {
    background-color: #f2f4f7;
}

.email-input.valid {
    border: 2px solid #333333;
    background-color: #ffffff;
}

.email-input.error {
    border: 2px solid #dc3545;
    background-color: #ffffff;
    padding-right: 50px;
}

.error-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: normal;
    pointer-events: none;
}

.error-icon.show {
    display: flex;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    display: none;
    text-align: left;
}

.error-message.show {
    display: block;
}

.email-input::placeholder {
    color: #b0b0b0;
    font-size: 15px;
    font-weight: 400;
}

.continue-btn {
    width: auto;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.continue-btn img {
    transition: opacity 0.3s ease;
}

.continue-btn:hover img {
    opacity: 0.7;
}


.continue-btn:active {
    transform: translateY(1px);
}

/* Password Page Styles */
.email-input.valid-display {
    border: 2px solid transparent;
    background-color: #f9fafb;
    padding-right: 50px;
    color: #dadcdf;
    font-weight: 500;
    /*! \33 : not-allowed; */
}


.check-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #999999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: normal;
    pointer-events: none;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #374151;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
}

.forgot-password {
    text-align: left;
    margin-top: -10px;
    margin-bottom: 10px;
    width: 133%;
    margin-left: -22.5%;
    display: block;
    padding-left: 20px;
    /*! font-size: 50x; */
}


.forgot-link {
    color: #6366f1;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.button-group {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.back-btn {
    padding: 12px 24px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: #e0e0e0;
}

.back-btn:active {
    transform: translateY(1px);
}

.cloudflare-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    width: 100%;
}

.cloudflare-badge img {
    height: auto;
    opacity: 0.9;
}

/* Chat Bubble */
.chat-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
}

.chat-bubble img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chat-bubble:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .alert-arrow {
        left: 30px;
        width: 60px;
        height: 60px;
    }
    
    .alert-box {
        margin-left: 100px;
        max-width: calc(100% - 120px);
    }
    
    .alert-message {
        font-size: 13px;
    }
    
    .login-form {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .login-title {
        font-size: 24px;
    }
    
    .login-logo-img {
        width: 70px;
        height: 70px;
    }
}

