/* IZDOCS Custom Styles */

[x-cloak] {
    display: none !important;
}

.signature-canvas {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    cursor: crosshair;
    touch-action: none;
}

.signature-canvas:hover {
    border-color: #3b82f6;
}

.signature-canvas.active {
    border-color: #1e40af;
    border-style: solid;
}

.signature-typed-preview {
    font-family: 'Brush Script MT', 'Dancing Script', cursive;
    font-size: 32px;
    color: #1e3a5f;
    padding: 16px;
    border-bottom: 2px solid #1e3a5f;
}

.field-placeholder {
    border: 2px dashed #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
    cursor: move;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #1e40af;
    font-weight: 600;
    user-select: none;
}

.field-placeholder:hover {
    background: rgba(59, 130, 246, 0.2);
}

.field-placeholder .delete-field {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s;
}

.field-placeholder:hover .delete-field {
    opacity: 1;
}

.pdf-viewer-container {
    background: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.otp-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.scroll-tracker {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #e5e7eb;
}

.scroll-tracker .progress {
    height: 100%;
    background: #3b82f6;
    transition: width 0.2s;
}

@media print {
    .no-print {
        display: none !important;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}
