/* =========================================
   MY ACCOUNT DASHBOARD - TENSHOMUSIC PREMIUM V3
   Aggressive Specificity & Admin-Style Sidebar
   ========================================= */

:root {
    --tm-primary: #8B5CF6;
    --tm-primary-dark: #7C3AED;
    --tm-bg-dark: #0A0A0F;
    --tm-bg-secondary: #14141F;
    --tm-bg-card: rgba(20, 20, 31, 0.9);
    --tm-glass: rgba(255, 255, 255, 0.05);
    --tm-glass-hover: rgba(255, 255, 255, 0.08);
    --tm-border: rgba(255, 255, 255, 0.1);
    --tm-text: #FFFFFF;
    --tm-text-secondary: #94A3B8;
}

/* --- Global Reset & Background --- */
body.woocommerce-account {
    background: var(--tm-bg-dark) !important;
    color: var(--tm-text) !important;
    min-height: 100vh;
}

/* Force container layout */
body.woocommerce-account .woocommerce {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 100px 20px 60px !important;
    display: block !important;
}

/* Clear WooCommerce / Theme grid conflicts */
body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after {
    display: none !important;
}

/* --- Layout Structure (Desktop Override) --- */
@media (min-width: 992px) {
    body.woocommerce-account .woocommerce {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Target the main title - Pure White High Contrast */
    body.woocommerce-account .page-title,
    body.woocommerce-account .entry-title {
        text-align: center !important;
        margin-bottom: 60px !important;
        font-size: 3.5rem !important;
        font-weight: 950 !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        background: none !important;
        position: relative !important;
        letter-spacing: -1.5px !important;
        text-transform: uppercase !important;
    }

    body.woocommerce-account .page-title::after,
    body.woocommerce-account .entry-title::after {
        content: '' !important;
        position: absolute !important;
        bottom: -15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 120px !important;
        height: 6px !important;
        background: var(--tm-primary) !important;
        border-radius: 10px !important;
        box-shadow: 0 0 25px rgba(139, 92, 246, 0.6) !important;
    }

    /* Reset default floats and widths */
    .woocommerce-MyAccount-navigation {
        float: none !important;
        width: 250px !important;
        position: sticky !important;
        top: 120px !important;
        height: fit-content !important;
    }

    .woocommerce-MyAccount-content {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    /* Create the Flex Wrap using the main container */
    body.woocommerce-account .woocommerce {
        display: grid !important;
        grid-template-columns: 250px 1fr !important;
        gap: 30px !important;
        align-items: start !important;
        max-width: 1200px !important;
    }

    /* Move Title outside the grid */
    body.woocommerce-account .page-title,
    body.woocommerce-account .entry-title {
        grid-column: 1 / -1 !important;
    }
}

/* --- NAVIGATION (Admin Sidebar Style) --- */
.woocommerce-MyAccount-navigation {
    background: var(--tm-bg-secondary) !important;
    border: 1px solid var(--tm-border) !important;
    border-radius: 20px !important;
    padding: 20px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex !important;
    align-items: center !important;
    padding: 14px 20px !important;
    color: var(--tm-text-secondary) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    background: transparent !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    justify-content: flex-start !important;
}

/* Admin Active Bar Effect */
.woocommerce-MyAccount-navigation ul li a::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) scaleY(0) !important;
    width: 4px !important;
    height: 60% !important;
    background: var(--tm-primary) !important;
    border-radius: 0 4px 4px 0 !important;
    transition: all 0.3s ease !important;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--tm-glass) !important;
    color: var(--tm-text) !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: rgba(139, 92, 246, 0.1) !important;
    color: var(--tm-primary) !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a::before {
    transform: translateY(-50%) scaleY(1) !important;
}

/* Logout Item Special */
.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #ff5e5e !important;
    margin-top: 15px !important;
    border-top: 1px solid var(--tm-border) !important;
    border-radius: 0 0 12px 12px !important;
    padding-top: 20px !important;
}

/* --- CONTENT AREA (Glassmorphism) --- */
.woocommerce-MyAccount-content {
    background: var(--tm-bg-card) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 24px !important;
    border: 1px solid var(--tm-border) !important;
    padding: 50px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    min-height: 600px !important;
}

/* Hide Astra default borders & Improve internal titles - PURE WHITE */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    border-bottom: 1px solid var(--tm-border) !important;
    padding-bottom: 20px !important;
    margin-bottom: 35px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    font-weight: 950 !important;
    font-size: 2.2rem !important;
    text-transform: none !important;
    letter-spacing: -1px !important;
}

.woocommerce-MyAccount-content p {
    color: var(--tm-text-secondary) !important;
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
}

/* Dashboard welcome link color */
.woocommerce-MyAccount-content a:not(.button) {
    color: var(--tm-primary) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.woocommerce-MyAccount-content a:not(.button):hover {
    text-decoration: underline !important;
}

/* --- Tables Override --- */
.woocommerce-MyAccount-content table.shop_table {
    border: 1px solid var(--tm-border) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: rgba(0, 0, 0, 0.2) !important;
}

.woocommerce-MyAccount-content table.shop_table thead {
    background: var(--tm-glass) !important;
}

.woocommerce-MyAccount-content table.shop_table th {
    padding: 20px !important;
    color: white !important;
    border: none !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
}

.woocommerce-MyAccount-content table.shop_table td {
    padding: 20px !important;
    border-top: 1px solid var(--tm-border) !important;
    color: var(--tm-text-secondary) !important;
}

/* --- Buttons Override --- */
body.woocommerce-account .button,
body.woocommerce-account button.button,
body.woocommerce-account input.button {
    background: linear-gradient(135deg, var(--tm-primary), var(--tm-primary-dark)) !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3) !important;
    transition: all 0.3s ease !important;
}

body.woocommerce-account .button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.5) !important;
}

/* --- Addresses Grid Fix --- */
.woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    margin-top: 30px !important;
    align-items: stretch !important;
}

.woocommerce-Address {
    background: var(--tm-glass) !important;
    border: 1px solid var(--tm-border) !important;
    padding: 35px !important;
    border-radius: 20px !important;
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.3s ease !important;
}

.woocommerce-Address:hover {
    border-color: var(--tm-primary) !important;
    background: var(--tm-glass-hover) !important;
    transform: translateY(-5px) !important;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h3,
.woocommerce-MyAccount-content .woocommerce-Address header h3 {
    color: #ffffff !important;
    font-size: 1.3rem !important;
    margin: 0 0 15px 0 !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #222 !important;
    background: transparent !important;
}

/* Address Content - FORCE WHITE TEXT */
.woocommerce-MyAccount-content .woocommerce-Address address {
    color: #ffffff !important;
    font-style: normal !important;
    line-height: 1.8 !important;
    margin-bottom: 25px !important;
    font-size: 1.05rem !important;
    background: transparent !important;
}

/* Force everything inside address to be white (overriding theme black) */
.woocommerce-Address address,
.woocommerce-Address address *,
.woocommerce-Address p,
.woocommerce-Address span {
    color: #ffffff !important;
}

/* Empty address message */
.woocommerce-MyAccount-content .woocommerce-Address address:empty::before {
    content: 'No has configurado esta dirección aún.';
    color: #666 !important;
    font-style: italic !important;
}

/* Fix for any nested elements */
.woocommerce-MyAccount-content .woocommerce-Address * {
    background: transparent;
}

.woocommerce-MyAccount-content .woocommerce-Address,
.woocommerce-MyAccount-content .woocommerce-Address header {
    background: #0a0a0a !important;
}

/* Edit Button Styling */
.woocommerce-MyAccount-content .woocommerce-Address .edit {
    margin-top: auto !important;
    padding-top: 20px !important;
}

.woocommerce-MyAccount-content .woocommerce-Address .edit a {
    display: inline-block !important;
    padding: 10px 24px !important;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3) !important;
}

.woocommerce-MyAccount-content .woocommerce-Address .edit a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5) !important;
    text-decoration: none !important;
}

/* "Add" link when no address exists */
.woocommerce-MyAccount-content .woocommerce-Address a:not(.edit a) {
    display: inline-block !important;
    padding: 10px 24px !important;
    background: transparent !important;
    border: 2px solid #8B5CF6 !important;
    color: #8B5CF6 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s !important;
}

.woocommerce-MyAccount-content .woocommerce-Address a:not(.edit a):hover {
    background: rgba(139, 92, 246, 0.1) !important;
    color: #A78BFA !important;
    border-color: #A78BFA !important;
    text-decoration: none !important;
}

/* Force text color for any paragraph inside address */
.woocommerce-MyAccount-content .woocommerce-Address p {
    color: #b3b3b3 !important;
}

/* Force width and proper word wrap */
.woocommerce-MyAccount-content .woocommerce-Address,
.woocommerce-MyAccount-content .woocommerce-Address header,
.woocommerce-MyAccount-content .woocommerce-Address-title {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure text wraps properly */
.woocommerce-MyAccount-content .woocommerce-Address-title h3,
.woocommerce-MyAccount-content .woocommerce-Address header h3 {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Force col-1 and col-2 to be side-by-side with no theme interference */
.woocommerce-MyAccount-content .col-1,
.woocommerce-MyAccount-content .col-2,
.woocommerce-MyAccount-content .u-column1,
.woocommerce-MyAccount-content .u-column2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Clean Address Grid Layout */
.woocommerce-MyAccount-content .woocommerce-Addresses {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 30px !important;
    margin-top: 40px !important;
    align-items: stretch !important;
}

.woocommerce-MyAccount-content .woocommerce-Address {
    flex: 1 !important;
    min-width: 0 !important;
    /* Allow shrinking */
}




/* --- Downloads Section --- */
.woocommerce-MyAccount-content .woocommerce-MyAccount-downloads {
    background: #0a0a0a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
}

.woocommerce-MyAccount-content .woocommerce-MyAccount-downloads .download-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 6px;
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.woocommerce-MyAccount-content .woocommerce-MyAccount-downloads .download-file:hover {
    background: #8B5CF6;
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- Payment Methods --- */
.woocommerce-MyAccount-content .woocommerce-PaymentMethods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-content .woocommerce-PaymentMethods li {
    background: #0a0a0a;
    padding: 20px 25px;
    border-radius: 12px;
    border: 1px solid #333;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.woocommerce-MyAccount-content .woocommerce-PaymentMethods li:hover {
    border-color: #8B5CF6;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
}

/* --- Order Details Page --- */
.woocommerce-order-details {
    background: #0a0a0a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
    margin-bottom: 30px;
}

.woocommerce-order-details__title {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #222;
}

.woocommerce-table--order-details {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

/* Order details table text visibility */
.woocommerce-table--order-details td,
.woocommerce-table--order-details th,
.woocommerce-table--order-details .product-name,
.woocommerce-table--order-details .product-total {
    color: #ffffff !important;
}

/* Order status and info visibility */
.woocommerce-order-details p,
.woocommerce-order-details mark,
.woocommerce-thankyou-order-received {
    color: #ffffff !important;
    background: transparent !important;
}

/* --- Customer Details --- */
.woocommerce-customer-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.woocommerce-customer-details section {
    background: #0a0a0a;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
}

.woocommerce-customer-details h2 {
    color: #ffffff !important;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.woocommerce-customer-details address {
    color: #ffffff !important;
    font-style: normal;
    line-height: 1.8;
}

/* Force all text in customer details to be visible */
.woocommerce-customer-details p,
.woocommerce-customer-details span,
.woocommerce-customer-details strong,
.woocommerce-customer-details label {
    color: #ffffff !important;
}

/* --- Notices & Alerts (Premium Fix) --- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice,
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message {
    background: var(--tm-bg-secondary) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid var(--tm-border) !important;
    border-left: 4px solid var(--tm-primary) !important;
    color: #ffffff !important;
    padding: 25px 30px !important;
    border-radius: 16px !important;
    margin-bottom: 40px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    width: 100% !important;
}

.woocommerce-error {
    border-left-color: var(--tm-danger) !important;
}

.woocommerce-message--info,
.woocommerce-info {
    border-left-color: var(--tm-primary) !important;
}

/* Fix "Explorar Productos" button in notices */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    margin-left: auto !important;
    white-space: nowrap !important;
}

/* --- Empty States --- */
.woocommerce-message--info {
    text-align: center !important;
    padding: 60px 40px !important;
    background: var(--tm-glass) !important;
    border-radius: 20px !important;
    border: 2px dashed var(--tm-border) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce-message--info::before {
    font-size: 3rem !important;
    display: block !important;
    margin-bottom: 20px !important;
    opacity: 0.3 !important;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .woocommerce-MyAccount-navigation ul {
        flex-wrap: wrap;
    }

    .woocommerce-MyAccount-navigation ul li {
        min-width: 120px;
    }

    .woocommerce-MyAccount-content {
        padding: 30px 25px;
    }

    .woocommerce-Addresses {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .woocommerce-customer-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .woocommerce-account {
        padding: 80px 0 40px;
    }

    .woocommerce-account .page-title,
    .woocommerce-account .entry-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
    }

    .woocommerce-MyAccount-navigation ul li {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #1a1a1a;
    }

    .woocommerce-MyAccount-navigation ul li:last-child {
        border-bottom: none;
    }

    .woocommerce-MyAccount-navigation ul li a {
        padding: 18px 20px;
        justify-content: flex-start;
    }

    .woocommerce-MyAccount-content {
        padding: 25px 20px;
    }

    .woocommerce-MyAccount-content h2,
    .woocommerce-MyAccount-content h3 {
        font-size: 1.5rem;
    }

    /* Make tables scrollable on mobile */
    .woocommerce-MyAccount-content table.woocommerce-orders-table,
    .woocommerce-MyAccount-content table.shop_table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .woocommerce-Addresses {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .woocommerce-customer-details {
        grid-template-columns: 1fr;
    }
}

/* --- Login/Register Page Styles --- */
/* LOGIN PAGE WRAPPER - FORCE FULL VIEWPORT CENTERING */
body.woocommerce-account.logged-out,
body.woocommerce-account:not(.logged-in) {
    background: #000000 !important;
    overflow: hidden !important;
    /* Prevent scroll when login is shown */
    height: 100vh !important;
    position: fixed !important;
    width: 100% !important;
}

.tm-login-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    background: #000000 !important;
    z-index: 999 !important;
    margin: 0 !important;
    overflow-y: auto !important;
    /* Allow scroll INSIDE wrapper if needed */
}

.tm-login-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.tm-glass-panel {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid #222;
    padding: 50px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.tm-login-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    border-bottom: 2px solid #222;
}

.tm-tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: #b3b3b3;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tm-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #8B5CF6, #A78BFA);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.tm-tab-btn.active {
    color: #ffffff;
}

.tm-tab-btn.active::after {
    transform: scaleX(1);
}

.tm-form-section {
    display: none;
}

.tm-form-section.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tm-form-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
}

.tm-form-subtitle {
    color: #b3b3b3;
    margin-bottom: 30px;
    font-size: 1rem;
}

.tm-input-group {
    margin-bottom: 25px;
}

.tm-input-group label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.tm-input {
    width: 100%;
    padding: 14px 18px;
    background: #0a0a0a;
    border: 2px solid #333;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.tm-input:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.tm-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.tm-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b3b3b3;
    font-size: 0.9rem;
    cursor: pointer;
}

.tm-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.tm-forgot-link {
    color: #8B5CF6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.tm-forgot-link:hover {
    color: #A78BFA;
    text-decoration: underline;
}

.tm-btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.tm-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

@media (max-width: 600px) {
    .tm-glass-panel {
        padding: 35px 25px;
    }

    .tm-form-title {
        font-size: 1.6rem;
    }

    .tm-form-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}