/* === CONTRACT MODALS === */
#contractContentModal .modal-content,
#pendingContractsModal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}
/* Sözleşme içerik modal header */
#contractContentModal .modal-header {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    padding: 20px 24px;
    border-bottom: none;
}
#contractContentModal .modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}
#contractContentModal .modal-body {
    padding: 24px;
    font-size: 0.93rem;
    line-height: 1.8;
    color: #333;
    max-height: 65vh;
    overflow-y: auto;
}
#contractContentModal .modal-footer {
    padding: 14px 24px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}
/* Bekleyen sözleşmeler modal */
#pendingContractsModal .modal-content {
    border-radius: 20px;
}
.contract-modal-header {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}
.contract-modal-header::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.contract-modal-header::after {
    content: '';
    position: absolute;
    bottom: -30px; left: 20px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.contract-modal-header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}
.contract-modal-header .badge-icon {
    width: 52px; height: 52px;
    flex-shrink: 0;
    background: rgba(255, 193, 7, 0.18);
    border: 2px solid rgba(255, 193, 7, 0.4);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0;
}
.contract-modal-header .badge-icon i {
    font-size: 1.4rem;
    color: #ffc107;
}
.contract-modal-header h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}
.contract-modal-header p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}
.contract-modal-body {
    padding: 24px 28px;
    background: #fff;
}
.contract-modal-info {
    background: linear-gradient(135deg, #eff6ff, #e8f4fd);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: #1e40af;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.contract-modal-info i {
    margin-top: 2px;
    font-size: 1rem;
    color: #3b82f6;
    flex-shrink: 0;
}
.contract-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #fff;
    transition: all 0.25s ease;
    cursor: pointer;
}
.contract-item:hover {
    border-color: #3b82f6;
    background: #f8fbff;
    box-shadow: 0 2px 12px rgba(59,130,246,0.1);
}
.contract-item.is-checked {
    border-color: #10b981;
    background: #f0fdf4;
}
.contract-item-checkbox {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 6px;
    border: 2px solid #d1d5db;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    background: #fff;
}
.contract-item-checkbox.checked {
    background: #10b981;
    border-color: #10b981;
}
.contract-item-checkbox.checked::after {
    content: '✓';
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.contract-item-content {
    flex: 1;
}
.contract-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f2937;
    margin-bottom: 2px;
}
.contract-item-sub {
    font-size: 0.8rem;
    color: #9ca3af;
}
.contract-item-link {
    font-size: 0.82rem;
    color: #3b82f6;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    white-space: nowrap;
}
.contract-item-link:hover { color: #1d4ed8; }
.contract-modal-footer {
    padding: 16px 28px 22px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}
.contract-modal-footer .btn-approve {
    width: 100%;
    background: linear-gradient(135deg, #0f2027, #2c5364);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s;
}
.contract-modal-footer .btn-approve:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15,32,39,0.35);
    color: #fff;
}
.contract-modal-footer .btn-approve:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.contract-progress {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #6b7280;
    margin-bottom: 6px;
    padding: 0 2px;
}
.contract-progress-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 16px;
    overflow: hidden;
}
.contract-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 4px;
    transition: width 0.4s ease;
    width: 0%;
}