/* =========================================
   1. Shared & Reset Styles
   ========================================= */
html {
    line-height: 1.15;
}

body {
    margin: 0;
    font-family: Inter, sans-serif;
    color: var(--dl-color-theme-neutral-dark);
    background: var(--dl-color-theme-neutral-light);
}

* {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    -webkit-font-smoothing: antialiased;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: inherit;
}

input {
    padding: 2px 4px;
}

/* Global Input Style */
.input {
    color: #333;
    cursor: auto;
    padding: 10px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    width: 100%;
    transition: border-color 0.2s;
}

    .input:focus {
        border-color: #333;
        outline: none;
    }

/* Disabled Input Style */
.disabled-input {
    background-color: #f5f5f5 !important;
    color: #888 !important;
    cursor: not-allowed;
}

/* Global Button Style - Dark Neutral Override */
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    border-radius: 4px;
    background-color: var(--dl-color-theme-primary1);
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

    .button:hover {
        background-color: #000000;
        border-color: #000000;
        transform: translateY(-1px);
    }

/* =========================================
   2. Dashboard / Manage Account Styles
   ========================================= */

.manage-wrapper {
    background-color: #f9f9f9;
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: -webkit-fill-available;
}

.manage-container {
    width: 100%;
    /* OPTION A: Wide but contained (Recommended) */
    max-width: 1200px;
    /* OPTION B: Full Screen Width (Uncomment below to use) */
    /* max-width: 95%; */

    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
}

.manage-header-text {
    text-align: center;
}

    .manage-header-text h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        color: #333;
    }

.manage-card {
    background-color: #ffffff;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    min-height: 600px; /* Made slightly taller */
    border: 1px solid #eee;
}

/* Sidebar Navigation */
.manage-nav {
    flex: 0 0 280px; /* Made sidebar slightly wider */
    background-color: #fcfcfc;
    border-right: 1px solid #eeeeee;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .manage-nav .nav-link {
        color: #555;
        padding: 12px 16px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.2s ease;
    }

        .manage-nav .nav-link:hover {
            background-color: #f0f0f0;
            color: #000;
        }

        .manage-nav .nav-link.active {
            background-color: #333333;
            color: white;
        }

/* Content Area */
.manage-content {
    flex: 1; /* This makes it fill remaining space */
    padding: 40px;
    display: flex;
    flex-direction: column;
}

/* Form Styling within Manage Area */
.page-title {
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    color: #333;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* CHANGED: Set to 100% to fill the area next to sidebar */
    max-width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

/* Mobile Responsiveness for Dashboard */
@media(max-width: 768px) {
    .manage-card {
        flex-direction: column;
    }

    .manage-nav {
        flex: 0 0 auto;
        border-right: none;
        border-bottom: 1px solid #eeeeee;
        padding: 20px;
        width: 100%;
    }

    .manage-content {
        padding: 20px;
    }
}

/* =========================================
   3. TeleportHQ / Login / Register Styles
   ========================================= */

/* General Utilities */
.distancer-wrapper {
    display: contents;
}

.distancer-thq-distancer-elm {
    flex: 1;
    width: 200px;
    height: 100px;
    display: flex;
    position: relative;
    align-items: flex-start;
    flex-direction: column;
}

/* Footer Styles */
.footer4-wrapper {
    display: contents;
}

.footer4-thq-footer7-elm {
    width: 100%;
    height: auto;
    display: flex;
    overflow: hidden;
    position: relative;
    align-items: center;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
}

.footer4-thq-max-width-elm {
    gap: var(--dl-layout-space-threeunits);
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer4-thq-credits-elm {
    gap: var(--dl-layout-space-twounits);
    display: flex;
    align-self: stretch;
    align-items: center;
    flex-direction: column;
}

.footer4-thq-row-elm {
    display: flex;
    align-self: stretch;
    align-items: flex-start;
    flex-shrink: 0;
    justify-content: space-between;
}

.footer4-container {
    display: flex;
    align-items: flex-start;
}

.footer4-thq-footer-links-elm {
    gap: 24px;
    display: flex;
    align-items: flex-start;
}

.footer4-thq-text-elm2 {
    fill: var(--dl-color-theme-neutral-dark);
    color: var(--dl-color-theme-neutral-dark);
}

.footer4-thq-text-elm6 {
    text-decoration: none;
}

.footer4root-class-name, .footer4root-class-name1, .footer4root-class-name2, .footer4root-class-name3, .footer4root-class-name4, .footer4root-class-name5 {
    left: 0px;
    bottom: 0px;
    position: static;
    align-self: center;
}

@media(max-width: 767px) {
    .footer4-thq-row-elm {
        gap: var(--dl-layout-space-oneandhalfunits);
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
}

@media(max-width: 479px) {
    .footer4-thq-max-width-elm {
        gap: var(--dl-layout-space-oneandhalfunits);
    }

    .footer4-thq-footer-links-elm {
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
}

/* Login Page Styles */
.login-container10 {
    gap: var(--dl-layout-space-twounits);
    width: 100%;
    display: flex;
    min-height: 100vh;
    align-items: center;
    flex-direction: column;
    background-color: #f9f9f9;
}

.login-thq-navbar-interactive-elm {
    gap: var(--dl-layout-space-unit);
    width: 100%;
    height: 80px;
    display: flex;
    padding: 0 32px;
    box-shadow: 0px 2px 10px 0px #eaeaea;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
}

.login-thq-logo-elm {
    width: 24px;
    height: 24px;
    display: none;
}

.login-container11 {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
}

.login-thq-logo-or-text-elm1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.login-thq-buttons-elm {
    gap: 16px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.login-thq-log-in-button-elm1, .login-thq-register-button-elm {
    border-width: 0px;
    background-color: transparent;
    color: #333;
    font-weight: 500;
    cursor: pointer;
}

.login-thq-register-button-elm {
    border: 1px solid #333;
    padding: 8px 16px;
    border-radius: 4px;
}

.login-thq-price-info-general-elm {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    max-width: 450px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    flex-direction: column;
    background-color: #fff;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.login-thq-create-manual-tracking-div-button-elm {
    gap: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
}

.login-icon26 {
    fill: #333;
    width: 24px;
    height: 24px;
}

.login-text18 {
    fill: #333;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.login-container12 {
    gap: 16px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.login-thq-sign-in-google-button-elm, .login-thq-sign-in-apple-button-elm {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    color: #333;
}

    .login-thq-sign-in-google-button-elm:hover, .login-thq-sign-in-apple-button-elm:hover {
        background-color: #f5f5f5;
        border-color: #bbb;
        color: #333;
    }

.login-container14 {
    gap: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin: 20px 0;
}

.login-container15, .login-container16 {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
}

.login-text22 {
    color: #888;
    font-size: 12px;
}

.login-thq-manual-tracking-creation-show-elm {
    gap: 16px;
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.login-container17, .login-container18 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.login-container19 {
    gap: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.login-thq-forgot-password-link-elm {
    color: #115BCA;
    font-size: 14px;
    align-self: flex-start;
    margin-top: 4px;
}

.login-container20 {
    gap: 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.login-thq-register-link-elm {
    color: #115BCA;
    font-weight: 500;
}

/* Override Login Button Color */
.login-thq-log-in-button-elm2 {
    width: 100%;
    background-color: #333333;
    border-color: #333333;
    color: white;
}

    .login-thq-log-in-button-elm2:hover {
        background-color: #000000;
    }

.login-text27 {
    fill: white;
    color: white;
}

/* Register Page Styles */
.register-container10 {
    gap: var(--dl-layout-space-twounits);
    width: 100%;
    display: flex;
    min-height: 100vh;
    align-items: center;
    flex-direction: column;
    background-color: #f9f9f9;
}

.register-thq-navbar-interactive-elm {
    gap: var(--dl-layout-space-unit);
    width: 100%;
    height: 80px;
    display: flex;
    padding: 0 32px;
    box-shadow: 0px 2px 10px 0px #eaeaea;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
}

.register-thq-logo-or-text-elm1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.register-thq-buttons-elm {
    gap: 16px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.register-thq-log-in-button-elm, .register-thq-register-button-elm1 {
    border-width: 0px;
    background-color: transparent;
    color: #333;
    font-weight: 500;
    cursor: pointer;
}

.register-thq-register-button-elm1 {
    border: 1px solid #333;
    padding: 8px 16px;
    border-radius: 4px;
}

.register-thq-price-info-general-elm {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    max-width: 450px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    flex-direction: column;
    background-color: #fff;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.register-thq-create-manual-tracking-div-button-elm {
    gap: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
}

.register-icon26 {
    fill: #333;
    width: 24px;
    height: 24px;
}

.register-text18 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.register-container12 {
    gap: 16px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.register-container13 {
    gap: 8px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    font-size: 14px;
    color: #555;
}

.register-thq-sign-in-google-button-elm, .register-thq-sign-in-apple-button-elm {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    color: #333;
}

.register-container14 {
    gap: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin: 20px 0;
}

.register-container15, .register-container16 {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
}

.register-text24 {
    color: #888;
    font-size: 12px;
}

.register-thq-manual-tracking-creation-show-elm {
    gap: 16px;
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.register-container17, .register-container18, .register-container19 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.register-container20 {
    gap: 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.register-thq-log-in-link-elm {
    color: #115BCA;
    font-weight: 500;
}

/* Override Register Button Color */
.register-thq-register-button-elm2 {
    width: 100%;
    background-color: #333333;
    border-color: #333333;
    color: white;
}

    .register-thq-register-button-elm2:hover {
        background-color: #000000;
    }

.register-text29 {
    color: white;
    border: none;
}


/* Resend Email Confirmation Styles */
.resend-email-confirmation-container1 {
    gap: var(--dl-layout-space-twounits);
    width: 100%;
    display: flex;
    min-height: 100vh;
    align-items: center;
    flex-direction: column;
    background-color: #f9f9f9;
}

.resend-email-confirmation-thq-navbar-interactive-elm {
    gap: var(--dl-layout-space-unit);
    width: 100%;
    height: 80px;
    display: flex;
    padding: 0 32px;
    box-shadow: 0px 2px 10px 0px #eaeaea;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
}

.resend-email-confirmation-thq-logo-or-text-elm1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.resend-email-confirmation-thq-buttons-elm {
    gap: 16px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.resend-email-confirmation-thq-log-in-button-elm, .resend-email-confirmation-thq-register-button-elm {
    border-width: 0px;
    background-color: transparent;
    color: #333;
    font-weight: 500;
    cursor: pointer;
}

.resend-email-confirmation-thq-price-info-general-elm {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    max-width: 450px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    flex-direction: column;
    background-color: #fff;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.resend-email-confirmation-thq-create-manual-tracking-div-button-elm {
    gap: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
}

.resend-email-confirmation-icon26 {
    fill: #333;
    width: 24px;
    height: 24px;
}

.resend-email-confirmation-text18 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.resend-email-confirmation-thq-manual-tracking-creation-show-elm {
    gap: 16px;
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.resend-email-confirmation-container3 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Override Resend Button Color */
.resend-email-confirmation-thq-resend-email-conf-button-elm {
    width: 100%;
    background-color: #333333;
    border-color: #333333;
    color: white;
}

    .resend-email-confirmation-thq-resend-email-conf-button-elm:hover {
        background-color: #000000;
    }

.resend-email-confirmation-text21 {
    fill: white;
    color: white;
}

/* =========================================
   4. Final Overrides (Safety Net)
   ========================================= */

/* Ensure all primary buttons are neutral dark, overriding any lingering specific classes */
.button.dark-button {
    background-color: #333333;
    border-color: #333333;
    color: white;
}

    .button.dark-button:hover {
        background-color: #000000;
    }
