/* Account Page Styles */
.account-section {
    padding: 120px 2rem 4rem;
    min-height: 100vh;
    background: #000000;
}

.account-container {
    max-width: 1200px;
    margin: 0 auto;
}

.account-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
}

.account-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

/* Account Sidebar */
.account-sidebar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-nav-link {
    padding: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.account-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.account-nav-link.active {
    background: rgba(85, 255, 81, 0.2);
    color: #55ff51;
    font-weight: 500;
}

/* Account Main Content */
.account-main {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
}

.account-section-content {
    display: none;
}

.account-section-content.active {
    display: block;
}

.account-section-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

/* Profile Card */
.profile-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #55ff51, #00cc4a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
}

.profile-info h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

.profile-info p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #55ff51;
    background: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #55ff51, #00cc4a);
    border: none;
    border-radius: 8px;
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    align-self: flex-start;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(85, 255, 81, 0.3);
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.order-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.order-info h3 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1.1rem;
}

.order-info p {
    margin: 0.25rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.order-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

.order-status.completed {
    background: rgba(85, 255, 81, 0.2);
    color: #55ff51;
}

.order-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.order-status.processing {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

.order-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-small:hover {
    background: rgba(255, 255, 255, 0.2);
}

.orders-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.orders-empty p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Addresses List */
.addresses-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.address-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
}

.address-card h3 {
    margin: 0 0 1rem 0;
    color: #ffffff;
    font-size: 1.1rem;
}

.address-card p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.address-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.address-card .btn-small {
    flex: 1;
}

.addresses-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
    grid-column: 1 / -1;
}

/* Settings */
.settings-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.settings-card h3 {
    margin: 0 0 1.5rem 0;
    color: #ffffff;
    font-size: 1.3rem;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* User Menu */
.user-menu {
    position: relative;
    margin-left: 1rem;
}

.user-menu-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.user-menu-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.user-menu.active .user-menu-arrow {
    transform: rotate(180deg);
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 180px;
    display: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.user-menu.active .user-menu-dropdown {
    display: block;
}

.user-menu-dropdown a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-menu-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Order Details in Modal */
.order-details-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.order-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-details-header h3 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1.5rem;
}

.order-details-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.order-details-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-details-section h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
}

.order-details-section p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.25rem 0;
    line-height: 1.6;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.order-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.order-item-info {
    flex: 1;
}

.order-item-info h5 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1rem;
}

.order-item-info p {
    margin: 0.25rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.order-item-total {
    color: #55ff51;
    font-weight: 600;
    font-size: 1.1rem;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.order-summary-row.total {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

.order-summary-row.total span:last-child {
    color: #55ff51;
    font-size: 1.5rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-small {
    max-width: 500px;
}

.modal-view {
    max-width: 800px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .account-section {
        padding: 100px 1rem 2rem;
    }

    .account-title {
        font-size: 2rem;
    }

    .account-content {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
        margin-bottom: 1rem;
    }

    .account-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .account-nav-link {
        white-space: nowrap;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .account-main {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .order-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .order-actions {
        justify-content: flex-start;
    }

    .addresses-list {
        grid-template-columns: 1fr;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .user-menu {
        margin-left: 0;
    }

    .user-menu-dropdown {
        right: auto;
        left: 0;
    }
}

@media (max-width: 480px) {
    .account-title {
        font-size: 1.5rem;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .order-card {
        padding: 1rem;
    }

    .settings-card {
        padding: 1.5rem;
    }
}

