
.content {
    /*font-family: Arial, sans-serif;*/
    background-color: #f5f5f5;
    /*margin: 0;*/
    /*padding: 20px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-container {
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.icon {
    width: 50px;
    height: 50px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.icon img {
    width: 30px;
    height: 30px;
}

.text-container {
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 22px;
    font-weight: bold;
}

.order-number {
    font-size: 14px;
    color: gray;
    text-decoration: underline;
}

.container{
    background-color: #f9f9f9;

}
.container1 {
    background-color: #f9f9f9;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.row1 {
    display: flex;
    width: 100%;
    /*max-width: 1200px;*/
    gap: 20px;
}

.left-card {
    flex: 2;
}

.right-card {
    flex: 1;
}

.card1 {
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.card1-header {
    font-size: 18px;
    font-weight: bold;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
}

.product-list {
    display: flex;
    flex-direction: column;
}

.product {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.product img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.product-info {
    flex: 1;
    padding-left: 10px;
}

.price {
    font-size: 16px;
    font-weight: bold;
    color: red;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.total-price {
    font-size: 15px;
    font-weight: bold;
    color: red;
}

.address-container {
    display: flex;
    width: 65%;
    max-width: 1200px;
    gap: 20px;
    margin-top: 20px;
}

.address-card {
    flex: 1;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.address-content {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.right1-header {
    width: 400px;
}

@media (max-width: 768px) {
    .row1 {
        flex-direction: column;
    }

    .left-card, .right-card, .big-card {
        flex: 1;
    }

    .address-container {
        flex-direction: column;
        width: 100%;
    }

    .address-card {
        width: 100%;
    }

    /*.right1-header {*/
    /*    width: auto;*/
    /*}*/
}


.big-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.address-card1 {
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
    margin-top: 5px;
}

/* عند تمرير الماوس فوق العنوان */
.address-card1:hover {
    background: #f8f9fa;
}

/* عند تحديد عنوان، يتم تغيير حدوده */
.address-card1.selected {
    border: 2px solid #124d40;
}

/* تصميم المودال */
.modal1 {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);

}

/* محتوى المودال */
.modal-content1 {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 10px;
}

/* زر إغلاق المودال */
.close1 {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

body.modal-open {
    /*overflow: hidden;*/
}

.modal-backdrop {
    /*backdrop-filter: blur(8px);*/
    /*background-color: rgba(0, 0, 0, 0.5) !important;*/
}


.modal-dialog {
    max-width: 500px;
    margin: auto;
}

@media (max-width: 768px) {
    .modal-dialog {
        max-width: 90%;
    }
}

.checkout-address {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
