@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.cdnfonts.com/css/beatrice-display-trial');

@font-face {
    font-family: 'Beatrice Deck Trial';
    src: url('BeatriceDeckTrial-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.thdr-font-apply {
    font-family: 'Beatrice Deck Trial', sans-serif !important;
}

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

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    background-color: #000;
    /* overflow-x: hidden; */
    scroll-behavior: smooth;
    font-family: 'Beatrice Deck Trial', sans-serif;
}
a{
    text-decoration: none;
}

:root
{
    --primary: #006782;
    --secondry: #faebd7;
    --third: #D0CECE;
}



body.thunder-profile-body {
    background-color: #000000;
    color: #ffffff;
    /* font-family: 'Courier New', Courier, monospace; */
    margin: 0;
}

/* Wrapper to push content down below the fixed Navbar */
.thunder-profile-wrapper {
    padding-top: 120px;
    padding-bottom: 50px;
    min-height: 100vh;
}

.thunder-profile-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. تعديل الخط الفاصل ليصبح أبيض */
.thunder-profile-heading {
    border-bottom: 3px solid #ffffff;
    padding-bottom: 15px;
    margin-bottom: 40px;
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.thunder-profile-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
}

/* --- Sidebar Styles --- */
/* 3. الصندوق الجانبي: خلفية سوداء وحدود بيضاء */
.thunder-profile-sidebar {
    border: 2px solid #ffffff;
    padding: 30px;
    text-align: center;
    background-color: #000000;
    height: fit-content;
}

/* 4. عكس ألوان الأفاتار (خلفية بيضاء وأيقونة سوداء) */
.thunder-profile-avatar {
    width: 90px;
    height: 90px;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.thunder-profile-name {
    margin: 10px 0 5px;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #ffffff;
}

.thunder-profile-email {
    color: #cccccc; /* رمادي فاتح */
    font-size: 0.9rem;
    margin-bottom: 30px;
    word-break: break-all;
}

.thunder-profile-details {
    text-align: left;
    margin-bottom: 30px;
    border-top: 1px solid #333333; 
    padding-top: 20px;
}

.tp-detail-row {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
}

.tp-detail-row label {
    font-weight: bold;
    font-size: 0.8rem;
    color: #aaaaaa; 
    text-transform: uppercase;
}

.thunder-profile-stats {
    display: flex;
    justify-content: space-between;
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #333;
}

.tp-stat-box {
    text-align: center;
}

.tp-stat-box span {
    display: block;
    font-weight: bold;
    font-size: 1.2rem;
    color: #ffffff;
}

.tp-stat-box small {
    color: #888;
}

.thunder-profile-logout-btn {
    width: 100%;
    padding: 12px;
    border: 2px solid #ff0000;
    color: #ff0000;
    background: transparent;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: inherit;
}

.thunder-profile-logout-btn:hover {
    background: #ff0000;
    color: #fff;
}

/* --- Content Area Styles --- */
.thunder-profile-subheading {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-transform: uppercase;
    border-left: 5px solid #ffffff; 
    padding-left: 15px;
}

.thunder-profile-orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tp-order-card {
    border: 1px solid #444;
    padding: 20px;
    transition: all 0.3s;
    background: #000;
    position: relative;
    color: #fff;
}

.tp-order-card:hover {
    border-color: #ffffff;
    box-shadow: 5px 5px 0px rgba(255,255,255,0.2); 
    transform: translateY(-2px);
}

.tp-order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: 1px dashed #444;
    padding-bottom: 10px;
}

.tp-order-items {
    font-size: 0.9rem;
    color: #cccccc; 
    margin-bottom: 15px;
    line-height: 1.4;
    
}

.tp-order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.tp-status-badge {
    padding: 5px 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    letter-spacing: 1px;
    color: #000; 
    
}

/* Status Colors (Backgrounds kept pastel for readability) */
.tp-status-pending { background: #fff3cd; color: #856404; }
.tp-status-processing { background: #d1ecf1; color: #0c5460; }
.tp-status-shipped { background: #d4edda; color: #155724; }
.tp-status-delivered { background: #c3e6cb; color: #155724; }
.tp-status-cancelled { background: #f8d7da; color: #721c24; }

/* Utilities */
.tp-hidden { display: none !important; }

.thunder-profile-loader {
    text-align: center;
    padding: 40px;
    color: #888;
    font-style: italic;
}

.thunder-profile-empty {
    text-align: center;
    padding: 40px;
    border: 2px dashed #444;
    color: #ccc;
}

.tp-shop-link {
    display: inline-block;
    margin-top: 15px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 850px) {
    .thunder-profile-grid {
        grid-template-columns: 1fr;
    }
    .thunder-profile-sidebar {
        margin-bottom: 30px;
        border: none;
    }
}