/* Global Reset and Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
    overflow-x: hidden;
    color: #0f172a;
}

/* Page Wrapper - Split Layout */
.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* LEFT PANEL - Dark Theme (Dashboard Simulation) */
.login-left-panel {
    flex: 1.1;
    background-color: #0b0f19;
    color: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 60px 10px 60px;
    background-image: 
        radial-gradient(circle at 75% 35%, rgba(255, 92, 40, 0.09) 0%, transparent 45%),
        radial-gradient(circle at 25% 75%, rgba(56, 189, 248, 0.03) 0%, transparent 45%),
        radial-gradient(rgb(255 255 255 / 4%) 1.2px, transparent 0);
    background-size: 100% 100%, 100% 100%, 24px 24px;
}

.left-panel-content {
    width: 100%;
    max-width: 580px;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* Top Logo */
.top-logo{
    display: flex;
    flex-direction: column;
}

.top-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Center Text */
.center-text {
    margin-top: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.center-text h2 {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.8px;
}

.center-text h2 .orange-dot {
    color: #ff5c28;
}

.center-text p {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
    margin-top: 14px;
    font-weight: 400;
    max-width: 580px;
}

/* Dashboard Mockup Grid Area */
.dashboard-mockup {
    position: relative;
    height: 380px;
    width: 100%;
    margin: 0px 0px 0px 0px;
}

.mockup-grid {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Shared Cards Properties */
.mock-card {
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.mock-card:hover {
    border-color: rgba(255, 92, 40, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.mock-card .card-tag {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.mock-card .card-value {
    font-weight: 700;
    color: #ffffff;
}

.mock-card .card-desc {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
    display: block;
}

/* Floating Animations */
@keyframes floatUp {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@keyframes floatDown {
    0% { transform: translateY(0px); }
    50% { transform: translateY(8px); }
    100% { transform: translateY(0px); }
}

/* Card 1: Main Dashboard Card (White) */
.card-main {
    position: absolute;
    top: 5px;
    left: 167px;
    z-index: 5;
    width: 260px;
    height: 155px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    color: #0f172a;
    animation: floatUp 6s ease-in-out infinite;
}

.card-main:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.4);
}

.card-main .card-tag {
    color: #64748b;
}

.card-main .card-value {
    color: #0f172a;
    font-size: 26px;
    margin: 4px 0;
}

.card-main .card-desc {
    color: #64748b;
}

.card-main .card-chart {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    overflow: hidden;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.card-main .card-chart svg {
    width: 100%;
    height: 100%;
}

/* Card 2: Online Users (Left Top) */
.card-online {
    position: absolute;
    top: 60px;
    left: 0px;
    z-index: 4;
    width: 150px;
    height: 105px;
    padding: 12px;
    animation: floatDown 5s ease-in-out infinite;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.card-online .card-value {
    font-size: 26px;
}

.card-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.badge-green {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
}

.mini-chart {
    width: 100%;
    height: 15px;
    margin-top: 4px;
}

.mini-chart svg {
    width: 100%;
    height: 100%;
}

/* Card 3: Tickets (Right Top) */
.card-tickets {
    position: absolute;
    top: 40px;
    right: 10px;
    z-index: 3;
    width: 125px;
    height: 110px;
    padding: 12px;
    animation: floatUp 5.5s ease-in-out infinite;
}

.card-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 8px;
}

.blue-circle {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
}

.card-tickets .card-value {
    font-size: 22px;
    line-height: 1.1;
    margin-bottom: 2px;
}

/* Card 4: Accounts (Left Bottom) */
.card-accounts {
    position: absolute;
    top: 200px;
    left: 10px;
    z-index: 3;
    width: 150px;
    height: 75px;
    padding: 12px;
    animation: floatDown 6.5s ease-in-out infinite;
}

.card-accounts .card-tag {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-row-value {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 6px;
}

.card-accounts .card-value {
    font-size: 20px;
}

/* Card 5: Characters (Center Bottom) */
.card-characters {
    position: absolute;
    top: 185px;
    left: 208px;
    z-index: 4;
    width: 170px;
    height: 75px;
    padding: 12px;
    animation: floatUp 6.2s ease-in-out infinite;
}

.card-characters .card-tag {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-characters .card-value {
    font-size: 20px;
}

/* Card 6: Guilds (Right Bottom) */
.card-guilds {
    position: absolute;
    top: 175px;
    right: 25px;
    z-index: 3;
    width: 135px;
    height: 110px;
    padding: 12px;
    animation: floatDown 5.8s ease-in-out infinite;
}

.yellow-circle {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.card-guilds .card-value {
    font-size: 22px;
    margin-bottom: 2px;
}

/* Left Panel Footer Shield */
.left-panel-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: -15px;
    padding-top: 13px;
    margin-top: 50px;
}

.shield-icon {
    width: 48px;
    height: 48px;
    margin-bottom: -15px;
    border-radius: 12px;
    background: rgba(255, 92, 40, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 92, 40, 0.2);
}

.left-panel-footer strong {
    display: block;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
}

.left-panel-footer span {
    display: block;
    font-size: 13px;
    color: #94a3b8;
    margin-top: 2px;
}


/* RIGHT PANEL - Light Theme (Auth Form) */
.login-right-panel {
    flex: 0.9;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 70px;
    min-height: 100vh;
    position: relative;
}

.right-panel-content {
    margin: auto 0;
    width: 100%;
    max-width: 410px;
    align-self: center;
}

/* Star Icon Container */
.star-icon-container {
    width: 80px;
    height: 80px;
    background: #131119;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    border: 1px solid #e2e8f0;
}

.star-icon-clip {
    width: 48px;
    height: 48px;
    overflow: hidden;
    position: relative;
}

.star-icon-clip img {
    position: absolute;
    height: 100%;
    width: auto;
    left: 0;
    top: 0;
    max-width: none;
}

.right-panel-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.right-panel-content .subtitle {
    font-size: 15px;
    color: #64748b;
    text-align: center;
    margin-bottom: 35px;
}

/* Form Styles */
.input-field-group {
    position: relative;
    margin-bottom: 24px;
}

.input-border-label {
    position: absolute;
    top: -9px;
    left: 16px;
    font-size: 12px;
    font-weight: 600;
    color: #ff5c28;
    background: #f8fafc;
    padding: 0 6px;
    z-index: 2;
    transition: color 0.2s;
}

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

.input-wrapper input {
    width: 100%;
    height: 56px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 0 45px 0 48px;
    background: transparent;
    color: #0f172a;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.input-wrapper input:focus {
    border-color: #ff5c28;
    box-shadow: 0 0 0 4px rgba(255, 92, 40, 0.1);
}

.input-wrapper input:focus ~ .input-icon {
    color: #ff5c28;
}

.input-wrapper input:focus ~ .input-border-label {
    color: #ff5c28;
}

.input-wrapper input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #94a3b8;
    transition: color 0.2s;
}

.password-toggle-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}

.password-toggle-btn:hover {
    color: #0f172a;
}

/* Options Row (Checkbox & Link) */
.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.custom-checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
    color: #475569;
    font-weight: 600;
}

.custom-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 18px;
    width: 18px;
    background-color: transparent;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    transition: all 0.2s;
}

.custom-checkbox-container:hover input ~ .checkmark {
    border-color: #ff5c28;
}

.custom-checkbox-container input:checked ~ .checkmark {
    background-color: #ff5c28;
    border-color: #ff5c28;
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.custom-checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

.forgot-pass-link {
    color: #ff5c28;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

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

/* Google reCAPTCHA widget simulation */
.recaptcha-widget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fdfdfd;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
    height: 74px;
}

.recaptcha-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recaptcha-checkbox {
    width: 28px;
    height: 28px;
    border: 2px solid #cbd5e1;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recaptcha-checkbox:hover {
    border-color: #a1a1a1;
}

.recaptcha-checkbox.loading {
    border-color: transparent;
}

.recaptcha-checkbox.verified {
    border-color: transparent;
}

.recaptcha-spinner {
    width: 22px;
    height: 22px;
    border: 2.5px solid #ff5c28;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.recaptcha-checkmark {
    width: 24px;
    height: 24px;
    display: none;
    animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.recaptcha-text {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    user-select: none;
}

.recaptcha-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
    flex-shrink: 0;
}

.recaptcha-brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.recaptcha-brand span {
    font-size: 8px;
    color: #64748b;
    font-weight: 700;
    margin-top: 2px;
    letter-spacing: 0.2px;
}

.recaptcha-links {
    font-size: 8px;
    color: #94a3b8;
    margin-top: 2px;
    white-space: nowrap;
}

.recaptcha-links a {
    color: #94a3b8;
    text-decoration: none;
}

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

/* Submit Button */
.submit-button {
    width: 100%;
    height: 56px;
    background: #ff5c28;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(255, 92, 40, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 24px;
}

.submit-button:hover {
    background: #ff7345;
    transform: translateY(-1.5px);
    box-shadow: 0 12px 30px rgba(255, 92, 40, 0.35);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button i {
    font-size: 18px;
}

/* Support footer links */
.support-footer-link {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.support-footer-link i {
    font-size: 18px;
    color: #ff5c28;
}

.support-footer-link a {
    color: #ff5c28;
    font-weight: 700;
    text-decoration: none;
}

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

/* Error message style */
.error-msg {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #ef4444;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    animation: popIn 0.3s ease-out;
}

.error-msg i {
    font-size: 20px;
}

/* Footer layout */
.login-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    margin-top: 40px;
}

.login-footer span, .login-footer strong {
    display: block;
}

.login-footer strong {
    font-size: 13px;
    color: #334155;
    font-weight: 600;
}

.login-footer span {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}


/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .login-wrapper {
        flex-direction: column;
    }
    
    .login-left-panel {
        display: none;
    }
    
    .login-right-panel {
        flex: 1;
        width: 100%;
        padding: 50px 24px;
        justify-content: center;
    }
    
    .right-panel-content {
        margin: 40px 0;
    }
    
    .login-footer {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        text-align: center;
        border-top: none;
        margin-top: 20px;
    }
}

/* Google Translate styling overrides to keep layout clean */
.skiptranslate, 
.goog-te-banner-frame, 
.goog-te-balloon-frame, 
#goog-gt-tt, 
.goog-te-menu-value, 
.goog-tooltip, 
.goog-tooltip:hover {
    display: none !important;
}

body {
    top: 0px !important;
}