/* Adres Sayfası Stilleri */

/* Adım Göstergeleri */
.payment-process {
    margin-bottom: 30px;
}

.payment-steps {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 30px;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 25px;
    right: -30px;
    width: 30px;
    height: 2px;
    background-color: #ddd;
}

.step.active:not(:last-child):after {
    background-color: var(--primary-color);
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #999;
    font-size: 20px;
}

.step.active .step-icon {
    background-color: var(--primary-color);
    color: white;
}

.step-text {
    font-size: 14px;
    font-weight: 500;
    color: #777;
}

.step.active .step-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* Bölüm Başlığı */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #333;
    font-size: 18px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* 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;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    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 {
    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 {
    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;
}
/* Sipariş Özeti */
.order-summary {
    width: 350px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    align-self: flex-start;
}

.coupon-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}
