/* Base layout styles for account main container */
.account-main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    font-family: Arial, sans-serif;
}

.account-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 24px;
}

.section-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header-left {
    display: flex;
    flex-direction: column;
}

.btn-back-home {
    background-color: #f1f5f9;
    color: #475569;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s;
}

.btn-back-home:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.section-header h2 {
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    color: #1e293b;
}

.section-header p {
    margin: 0;
    color: #64748B;
    font-size: 0.9rem;
}

/* Form Styles */
.profile-form {
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3b82f6;
    outline: none;
}

.readonly-input {
    background-color: #f8fafc;
    color: #64748B;
    cursor: not-allowed;
}

.form-actions {
    margin-top: 25px;
}

.btn-save {
    background-color: #ee4d2d;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-save:hover {
    background-color: #d73a1e;
}

/* Order Table Styles */
.table-responsive {
    overflow-x: auto;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.order-table th,
.order-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.order-table th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.order-table td {
    color: #334155;
    vertical-align: middle;
}

/* Badges */
.badge-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-status.shipping {
    background-color: #e0f2fe;
    color: #0284c7;
}

.badge-status.delivered {
    background-color: #dcfce3;
    color: #166534;
}

/* Add active state for profile link */
.active-profile {
    background-color: #f1f5f9;
    border-radius: 4px;
}
