/* Adres Kartları Stilleri */

/* Adres Seçimi */
.delivery-address-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.info-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Adres Kartları */
.saved-addresses {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.address-card {
    flex: 1;
    min-width: 250px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    transition: all 0.2s ease;
    background-color: #fff;
}

.address-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.address-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.address-selection-checkbox {
    position: relative;
}

.address-selection-checkbox input {
    position: absolute;
    opacity: 0;
}

.address-selection-checkbox label {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.address-selection-checkbox input:checked + label {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    box-shadow: inset 0 0 0 4px white;
}

.address-details {
    margin-bottom: 15px;
}

.address-details p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.address-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-edit, .btn-delete {
    padding: 8px 12px;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-edit:hover {
    background-color: #f5f5f5;
}

.btn-delete:hover {
    background-color: #fff0f0;
    color: #d00;
    border-color: #ffcccc;
}

.btn-primary {
    width: 100%;
    padding: 10px 15px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #333;
}

.deliver-here {
    background-color: var(--primary-color);
}

.deliver-here:hover {
    background-color: var(--primary-color-dark, #c00);
}

/* Yeni Adres Ekleme */
.add-new-address {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.add-new-address h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.address-form {
    display: grid;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    cursor: pointer;
}
