/* ============================================
   Create Signature Request Page Styling
   ============================================ */

/* Upload Zone */
.upload-zone {
    border: 3px dashed #dee2e6;
    border-radius: 8px;
    padding: 4rem 2rem;
    text-align: center;
    transition: all 0.2s ease;
    background: #f8f9fa;
}

.upload-zone:hover {
    border-color: #0d6efd;
    background: rgba(13, 110, 253, 0.05);
}

.upload-zone.dragging {
    border-color: #0d6efd;
    background: rgba(13, 110, 253, 0.1);
    transform: scale(1.02);
}

.upload-zone i {
    color: #adb5bd;
}

.upload-zone h5 {
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Uploaded Files */
.uploaded-files-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.uploaded-file-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.2s ease;
}

.uploaded-file-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.uploaded-file-item .file-icon {
    margin-right: 1rem;
}

.uploaded-file-item .file-info {
    flex: 1;
}

.uploaded-file-item .file-info h6 {
    margin: 0;
    font-size: 1rem;
}

/* Recipients List */
.recipients-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recipient-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: white;
    transition: all 0.2s ease;
}

.recipient-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #0d6efd;
}

.recipient-order {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
}

.recipient-info {
    flex: 1;
}

.recipient-info h6 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.recipient-info small {
    display: block;
}

.recipient-actions {
    display: flex;
    gap: 0.5rem;
}

/* Preview Card */
.card.sticky-top {
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

/* Form Styling */
.card-header h5 {
    margin: 0;
}

.form-label {
    font-weight: 600;
    color: #495057;
}

.form-label .text-danger {
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .card.sticky-top {
        position: relative !important;
        top: 0 !important;
    }

    .upload-zone {
        padding: 3rem 1rem;
    }

    .uploaded-file-item,
    .recipient-item {
        padding: 0.75rem;
    }

    .recipient-order {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
}

/* Modal Overlay */
.modal-backdrop.show {
    opacity: 0.5;
}

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recipient-item,
.uploaded-file-item {
    animation: fadeIn 0.3s ease;
}

/* Badge Styling */
.badge {
    font-weight: 600;
    padding: 0.35rem 0.65rem;
}

.badge.bg-info {
    background-color: #0dcaf0 !important;
}

/* Button Group */
.d-flex.justify-content-between .btn {
    min-width: 120px;
}
