/* Payment Proof Upload Modal Styles - Updated to match Payment Modal */

.payment-proof-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.payment-proof-modal.active {
    display: flex;
}

.payment-proof-modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    max-height: 80vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.payment-proof-modal-header {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    flex-shrink: 0;
    min-height: 60px;
}

.payment-proof-modal-header h3 {
    font-size: 1.125rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-proof-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-proof-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.payment-proof-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 1.5rem;
    min-height: 0;
    max-height: calc(80vh - 140px);
}

.payment-proof-modal-body::-webkit-scrollbar {
    width: 8px;
}

.payment-proof-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.payment-proof-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    border-radius: 10px;
}

.payment-proof-modal-body::-webkit-scrollbar-thumb:hover {
    background: #4A1220;
}

.payment-proof-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-shrink: 0;
    min-height: 60px;
    background: white;
}

.upload-info-box {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(107, 28, 46, 0.1) 0%, rgba(166, 74, 95, 0.1) 100%);
    border: 2px solid #6B1C2E;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.upload-info-box i {
    color: #6B1C2E;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.upload-info-box h4 {
    font-size: 1rem;
    color: #6B1C2E;
    margin: 0 0 0.25rem 0;
}

.upload-info-box p {
    font-size: 0.8125rem;
    color: #475569;
    margin: 0;
}

.upload-area {
    border: 2px dashed #d4cfc4;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f5f3ef;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-area:hover {
    border-color: #6B1C2E;
    background: rgba(107, 28, 46, 0.05);
}

.upload-area.dragover {
    border-color: #6B1C2E;
    background: rgba(107, 28, 46, 0.1);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upload-placeholder i {
    font-size: 3rem;
    color: #a8a296;
}

.upload-placeholder p {
    color: #57534e;
    font-weight: 600;
    margin: 0;
}

.upload-placeholder small {
    color: #a8a296;
    font-size: 0.75rem;
}

.upload-preview {
    position: relative;
    display: inline-block;
}

.upload-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.remove-upload {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-upload:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.upload-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f5f3ef;
    border-radius: 12px;
    margin-top: 1rem;
    color: #57534e;
}

.upload-status i {
    color: #6B1C2E;
    font-size: 1.25rem;
}

.payment-proof-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn-cancel-upload {
    padding: 0.875rem 1.5rem;
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cancel-upload:hover {
    background: #cbd5e0;
}

.btn-confirm-upload {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(107, 28, 46, 0.3);
}

.btn-confirm-upload:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 28, 46, 0.5);
}

.btn-confirm-upload:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
