
/* Reset WHMCS body */
body.hexa-public.hexa-login-page {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

/* Main Wrapper */
.custom-login-wrapper {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
}

.custom-login-wrapper * {
    box-sizing: border-box;
}

/* LEFT SIDE */
.custom-login-left {
    flex: 1.05;
    background:
        linear-gradient(to right, rgba(2, 22, 59, 0.90) 0%, rgba(2, 22, 59, 0.72) 100%),
        url('https://cdn.hexazn.com/login') center/cover no-repeat;
    position: relative;
    padding: 60px 6%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    border-radius: 0 35px 35px 0;
    box-shadow: 12px 0 30px rgba(0,0,0,0.08);
}

.hero-slider {
    width: 100%;
    max-width: 520px;
}

.hero-slide {
    display: none;
    animation: fadeSlide 0.6s ease;
}

.hero-slide.active {
    display: block;
}

.hero-slide h1 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 15px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-slide p {
    font-size: 14px;
    line-height: 1.6;
    color: #d1d5db;
    max-width: 95%;
    margin: 0;
}

/* Ryzen Gradient Text */
.ryzen-text {
    background: linear-gradient(88deg, #D91104 22%, #FF5E1A 40%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
}

.hero-dots {
    margin-top: 26px;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    display: inline-block;
    background: rgba(255,255,255,0.45);
    border-radius: 50%;
    margin-right: 8px;
    cursor: pointer;
    transition: 0.2s ease;
}

.hero-dots .dot.active {
    background: #0069ff;
    box-shadow: 0 0 0 4px rgba(0, 105, 255, 0.18);
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* RIGHT SIDE */
.custom-login-right {
    flex: 1;
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 40px 5%;
    margin: 0 auto;
}

.custom-form-container {
    width: 100%;
    max-width: 340px;
    margin: auto 0;
}

.brand-logo {
    max-width: 150px;
    margin: 0 auto 30px auto;
    display: block;
}

.login-heading {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #111 !important;
}

/* Form Controls */
.custom-form-group {
    margin-bottom: 16px;
    position: relative;
}

.custom-form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fff;
    color: #333;
    transition: all 0.2s ease;
}

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

.custom-form-control:focus {
    outline: none;
    border-color: #0069ff;
    box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.10);
}

.hexa-login-reveal {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
}

/* Login Button */
.btn-brand {
    width: 100%;
    padding: 12px;
    background-color: #0069ff !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: 0.2s ease;
    margin-bottom: 15px;
}

.btn-brand:hover {
    background-color: #0056d6 !important;
}

/* Social Login */
.social-login-wrapper {
    margin-bottom: 20px;
}

.social-login-wrapper a.btn,
.social-login-wrapper button.btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background-color: #0069ff !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: 0.2s ease !important;
}

.social-login-wrapper a.btn:hover,
.social-login-wrapper button.btn:hover {
    background-color: #0056d6 !important;
}

.providerLinkingFeedback:empty {
    display: none;
}

/* Forgot Password */
.forgot-password-link {
    display: block;
    text-align: center;
    color: #0069ff;
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 25px;
}

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

/* Create Account */
.btn-create-account {
    display: block;
    width: 100%;
    padding: 10px;
    background: transparent !important;
    color: #0069ff !important;
    border: 1px solid #0069ff !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-align: center;
    text-decoration: none !important;
    transition: 0.2s ease;
}

.btn-create-account:hover {
    background: rgba(0, 105, 255, 0.05) !important;
}

/* Remember Me */
.custom-rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 15px 0;
    font-size: 12px;
    color: #555;
}

.custom-rememberme input[type="checkbox"] {
    margin: 0;
}

/* Mobile */
@media (max-width: 900px) {
    .custom-login-wrapper {
        display: block;
    }

    .custom-login-left {
        display: none !important;
    }

    .custom-login-right {
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        padding: 40px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-form-container {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
}

.hexa-login-page #header,.hexa-login-page .master-breadcrumb{display:none}
.hexa-public.hexa-login-page #main-body{max-width:none;margin:0;padding:0;min-height:100vh}
.hexa-login-page .custom-login-wrapper .hexa-login-reveal{min-width:0;box-shadow:none}
.hexa-login-page .custom-login-wrapper .custom-form-control{height:auto;min-height:0;line-height:normal}
.hexa-login-page .custom-login-wrapper .custom-rememberme label{margin:0}
.hexa-login-page .hero-dots button.dot{padding:0;border:0}
.hexa-login-page .hero-dots button.dot:focus-visible{outline:2px solid #fff;outline-offset:5px}
@media(prefers-reduced-motion:reduce){.hexa-login-page .hero-slide{animation:none}}
