
    /* Customer Address Management Styles */
.customer-address-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.address-selection-container {
    margin-top: 15px;
}

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

.address-option-label {
    margin: 0;
    cursor: pointer;
    width: 100%;
    display: block;
}

.address-card {
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    padding: 15px;
    background: #ffffff;
    transition: all 0.3s ease;
    position: relative;
}

.address-card:hover {
    border-color: #3498db;
    background: #f0f9ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.address-radio:checked + .address-card {
    border-color: #27ae60;
    background: #f0fff4;
    box-shadow: 0 0 15px rgba(39, 174, 96, 0.2);
}

.address-card.new-address {
    border-style: dashed;
    text-align: center;
    background: #f8f9fa;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.address-card.new-address:hover {
    border-color: #17a2b8;
    background: #e9f7ff;
}

.address-radio:checked + .address-card.new-address {
    border-color: #17a2b8;
    background: #d1ecf1;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
    color: #2c3e50;
}

.address-details {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.address-line {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.address-line i {
    width: 18px;
    margin-right: 10px;
    color: #999;
    text-align: center;
}

.address-radio {
    position: absolute;
    top: 15px;
    right: 15px;
    transform: scale(1.3);
    cursor: pointer;
}

.readonly-field {
    background-color: #f5f5f5 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.address-status-alert {
    border-left: 4px solid;
    margin-bottom: 20px;
}

.badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 3px;
}

.badge-info {
    background-color: #3498db;
    color: white;
}

.badge-warning {
    background-color: #f39c12;
    color: white;
}

/* Enhanced form styles */
.form-section {
    margin-bottom: 25px;
    border-bottom: 1px solid #e7ecf1;
    padding-bottom: 20px;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section-title {
    color: #34495e;
    margin-bottom: 15px;
    font-weight: 300;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 8px;
}

.form-section-title i {
    margin-right: 8px;
    color: #27ae60;
}

/* Required field styling */
.required {
    color: #e74c3c;
    font-weight: bold;
}

/* Validation error styling */
.has-error .form-control {
    border-color: #e74c3c;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.has-success .form-control {
    border-color: #27ae60;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

/* Error message styling */
.error-message {
    color: #e74c3c;
    font-size: 11px;
    margin-top: 5px;
}

/* Conditional fields styling */
.conditional-fields {
    background-color: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

/* Animation for conditional fields */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

.conditional-fields.show {
    animation: slideDown 0.3s ease;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .customer-address-section {
        padding: 15px;
    }

    .address-card {
        padding: 12px;
    }

    .address-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .address-radio {
        position: static;
        margin-bottom: 10px;
        transform: none;
    }

    .form-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Loading states */
.address-loading {
    text-align: center;
    padding: 20px;
    color: #999;
}

.address-loading i {
    font-size: 24px;
    margin-bottom: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}