.account-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    padding: 20px;
}



/* Sol Menü */
.account-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.account-sidebar h3 {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
}
.account-sidebar .username {
    color: #777;
    margin-bottom: 15px;
}
.account-sidebar ul {
    list-style: none;
    padding: 0;
}
.account-sidebar ul li {
    margin-bottom: 10px;
}
.account-sidebar ul li a {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
.account-sidebar ul li a:hover {
    background: #f0f4ff;
    color: #2a4dff;
}
.account-sidebar ul li a i {
    margin-right: 10px;
}

/* Kartlar */
.card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.card h4 {
    margin-bottom: 15px;
}

/* Formlar */
.form-group input {
    flex: 1; 
}

.form-group {
    display: flex;
    align-items: center; 
    gap: 15px;          
    max-width: 500px;    
}
.form-button {
    margin-right: 100px; 
}
.form-row {
    display: flex;
    gap: 30px; 
    max-width: 100%; 
}

.form-row .form-group {
    flex: 1; 
}
.form-row > div {
    flex: 1; 
}
.form-group label {
    width: 150px; 
    margin-bottom: 0; 
    font-weight: 500;
}
input, select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #f9f9f9;
    font-size: 14px;
    transition: 0.3s;
    outline: none;
}
input:focus, select:focus {
    border-color: #2a4dff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(42,77,255,0.1);
}
.form-row {
    display: flex;
    gap: 10px;
}

/* Butonlar */
.btn {
    background: rgb(8, 8, 97);
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}
.btn:hover {
    background: rgb(35, 35, 143);
}
.btn-sm {
    background: #eee;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    color: #333;
}
.btn-sm:hover {
    background: #ddd;
}
.btn-sm.danger {
    background: #ffe5e5;
    color: #d60000;
}
.btn-sm.danger:hover {
    background: #ffcccc;
}

/* Sipariş Tablosu */
.order-table {
    width: 100%;
    border-collapse: collapse;
}
.order-table th, .order-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.status {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}
.status.shipped {
    background: #e0f2ff;
    color: rgb(8, 8, 97);
}
.status.delivered {
    background: #e6ffe6;
    color: #007a00;
}

/* Adres Kartları */
.address-list {
    display: grid;
    gap: 10px;
}
.address-card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 12px;
}
.address-card h5 {
    margin-bottom: 5px;
}
.address-card .actions {
    margin-top: 10px;
    display: flex;
    gap: 5px;
}

/* Responsive */
@media(max-width: 992px) {
    .account-container {
        grid-template-columns: 1fr;
    }
}

.account-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    padding: 20px;
}

/* Sol Menü */
.account-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.account-sidebar h3 {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
}
.account-sidebar .username {
    color: #777;
    margin-bottom: 15px;
}
.account-sidebar ul {
    list-style: none;
    padding: 0;
}
.account-sidebar ul li {
    margin-bottom: 10px;
}
.account-sidebar ul li a {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
.account-sidebar ul li a:hover {
    background: #f0f4ff;
    color: #2a4dff;
}
.account-sidebar ul li a i {
    margin-right: 10px;
}

/* Kartlar */
.card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.card h4 {
    margin-bottom: 15px;
}

/* Formlar */
.form-group,
.form-row div {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}
input, select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #f9f9f9;
    font-size: 14px;
    transition: 0.3s;
    outline: none;
}
input:focus, select:focus {
    border-color: #2a4dff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(42,77,255,0.1);
}
.form-row {
    display: flex;
    gap: 10px;
}

/* Butonlar */
.btn {
    background: rgb(8, 8, 97);
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}
.btn:hover {
    background: rgb(35, 35, 143);
}
.btn-sm {
    background: #eee;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    color: #333;
}
.btn-sm:hover {
    background: #ddd;
}
.btn-sm.danger {
    background: #ffe5e5;
    color: #d60000;
}
.btn-sm.danger:hover {
    background: #ffcccc;
}

/* Sipariş Tablosu */
.order-table {
    width: 100%;
    border-collapse: collapse;
}
.order-table th, .order-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.status {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}
.status.shipped {
    background: #e0f2ff;
    color: rgb(8, 8, 97);
}
.status.delivered {
    background: #e6ffe6;
    color: #007a00;
}

/* Adres Kartları */
.address-list {
    display: grid;
    gap: 10px;
}
.address-card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 12px;
}
.address-card h5 {
    margin-bottom: 5px;
}
.address-card .actions {
    margin-top: 10px;
    display: flex;
    gap: 5px;
}

/* Tablet */
@media (max-width: 992px) {
    .account-container {
        grid-template-columns: 1fr;
    }
}

/* Küçük Tablet */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    .account-sidebar h3 {
        font-size: 16px;
    }
    .card {
        padding: 15px;
    }
}

/* Mobil */
@media (max-width: 576px) {
    .account-container {
        padding: 10px;
    }
    .account-sidebar {
        padding: 15px;
    }
    .account-sidebar ul li a {
        padding: 10px;
        font-size: 14px;
    }
    input, select {
        font-size: 13px;
        padding: 8px 12px;
    }
    .btn {
        width: 100%;
        font-size: 14px;
    }
    .btn-sm {
        font-size: 12px;
        padding: 5px 8px;
    }
}

@media (max-width: 576px) {
  .order-table, .order-table thead, .order-table tbody, .order-table tr {
    display: block;
    width: 100%;
  }
  .order-table thead {
    display: none;
  }
  .order-table tr {
    margin-bottom: 18px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    background: #fff;
    padding: 10px;
  }
  .order-table td {
    display: flex;
    width: 100%;
    padding: 8px 6px;
    font-size: 13px;
    border: none;
    align-items: center;
  }
  .order-table td:before {
    content: attr(data-label);
    flex: 0 0 120px;
    font-weight: 600;
    color: #230b68;
    margin-right: 8px;
    font-size: 12px;
  }
}