
/*--------------------------------------------------------------
# Recipients Section - Address Management
--------------------------------------------------------------*/

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 30px;
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #37596d 0%, #4c8fb7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-icon i {
    font-size: 50px;
    color: #fff;
}

.empty-state h4 {
    color: #37596d;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Recipients Grid */
.recipients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Recipient Card */
.recipient-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
}

.recipient-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #37596d;
}

.recipient-card-header {
    background: linear-gradient(135deg, #37596d 0%, #4c8fb7 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recipient-number {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.recipient-actions {
    display: flex;
    gap: 8px;
}

.recipient-actions .btn {
    padding: 6px 12px;
    border-radius: 6px;
}

.recipient-actions .btn-outline-primary {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.recipient-actions .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.recipient-actions .btn-outline-danger {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
    color: #fff;
}

.recipient-actions .btn-outline-danger:hover {
    background: #dc3545;
    border-color: #dc3545;
}

.recipient-card-body {
    padding: 20px;
}

.recipient-name {
    font-size: 18px;
    font-weight: 600;
    color: #37596d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.recipient-name i {
    color: #4c8fb7;
}

.recipient-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #6c757d;
}

.detail-item i {
    color: #37596d;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.detail-item span {
    line-height: 1.5;
}

.detail-item.additional-info {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    margin-top: 5px;
}

.detail-item.additional-info i {
    color: #4c8fb7;
}

/* Form Sections */
.form-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

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

.form-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #37596d;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.form-section-title i {
    color: #4c8fb7;
}

/* Modal Customization */
.modal-header {
    background: linear-gradient(135deg, #37596d 0%, #4c8fb7 100%);
    color: #fff;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title i {
    color: #ffc107;
}

/* Responsive Design */
@media (max-width: 767px) {
    .recipients-grid {
        grid-template-columns: 1fr;
    }

    .recipient-card-header {
        padding: 12px 15px;
    }

    .recipient-number {
        font-size: 20px;
    }

    .recipient-card-body {
        padding: 15px;
    }

    .empty-state {
        padding: 40px 15px;
    }

    .empty-state-icon {
        width: 80px;
        height: 80px;
    }

    .empty-state-icon i {
        font-size: 40px;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recipient-card {
    animation: fadeInUp 0.5s ease-out;
}

.recipient-card:nth-child(1) { animation-delay: 0.1s; }
.recipient-card:nth-child(2) { animation-delay: 0.2s; }
.recipient-card:nth-child(3) { animation-delay: 0.3s; }
.recipient-card:nth-child(4) { animation-delay: 0.4s; }
.recipient-card:nth-child(5) { animation-delay: 0.5s; }
