#saved-addresses-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.saved-address-option {
    border: 1px solid #ddd;
    padding: 15px;
    position: relative;
    cursor: pointer;
    direction: rtl;
    text-align: right;
}

.genale {
	display: flex;
	justify-content: space-between;
}

.saved-address-option input[type="radio"] {
    position: absolute;
    top: 15px;
    right: 15px;
}

.address-card {
    margin-right: 30px;
}

.saved-address-option:hover {
    border-color: #007cba;
}

.saved-address-option input[type="radio"]:checked + .address-card {
    border-right: 3px solid #007cba;
    padding-right: 12px;
}

.delete-address {
	position: absolute;
	top: 5px;
	left: 5px
}

.edit-address {
	position: absolute;
	top: 5px;
	left: 40px
}
/* استایل برای لینک "نمایش بیشتر" */
#show-more-addresses {
    display: inline-block;
    margin-top: 0px;
    cursor: pointer;
    color: #007cba;
    text-decoration: underline;
}

#show-more-addresses:hover {
    color: #005177;
}

/* استایل برای لینک "نمایش بیشتر" */
.show-more-addresses2 {
    display: inline-block;
    margin-top: 0px;
    cursor: pointer;
    color: #007cba;
    text-decoration: underline;
}

.show-more-addresses2:hover {
    color: #005177;
}
/* Modal overlay */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal content */
.custom-modal-content {
    background-color: #fff;
    margin: 3% auto;
    padding: 10px;
    border-radius: 5px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close button */
.custom-modal-close {
    color: #aaa;
    float: left;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
/*     position: absolute;
    top: 10px;
    left: 15px; */
}

.custom-modal-close:hover,
.custom-modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Form styling */
.custom-modal-content .form-group {
    margin-bottom: 15px;
}

.custom-modal-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.custom-modal-content input,
.custom-modal-content textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.custom-modal-content .form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.custom-modal-content .btn-submit {
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.custom-modal-content .btn-cancel {
    background-color: #6c757d;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.custom-modal-content .btn-submit:hover {
    background-color: #0056b3;
}

.custom-modal-content .btn-cancel:hover {
    background-color: #5a6268;
}
