/* Custom Account Styles */
:root {
    --primary-red: #e31e24;
    --sidebar-bg: #f8fafc;
    --text-dark: #1e293b;
    --border-color: #e2e8f0;
}

body {
    background-color: #f8fafc;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Account Card & Layout */
.account-card {
    border-radius: 24px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background: #fff;
}

.sidebar-container {
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
}

.content-container {
    background: #fff;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
}

.avatar-box {
    width: 70px;
    height: 70px;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

/* Sidebar Menu Items */
.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 25px;
    color: #64748b;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.menu-item i {
    width: 20px;
    margin-right: 15px;
    font-size: 18px;
    opacity: 0.7;
}

.menu-item:hover {
    background: #f1f5f9;
    color: var(--primary-red);
}

.menu-item.active {
    background: #fff;
    color: var(--primary-red);
    border-left-color: var(--primary-red);
    font-weight: 700;
}

/* Forms */
.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
}

/* Flash Messages */
.flash-messages-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.flash-messages-container .message {
    background: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 15px;
    border-left: 5px solid var(--primary-red);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    animation: slideInRight 0.5s ease-out forwards;
}

.flash-messages-container .message.error { border-left-color: #ef4444; }
.flash-messages-container .message.success { border-left-color: #10b981; }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Address Book Specific */
.address-box {
    background: #fff;
    transition: all 0.3s ease;
}

.address-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: var(--primary-red) !important;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Order Details Specific */
.table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 700;
}

.clickable-star.far { color: #e2e8f0; }

/* Buttons */
.btn-danger:hover {
    background-color: #c5161c !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.2) !important;
}
