/* Custom Medical UI Styles for IPS Goleman */

body {
    background-color: #f8fafc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Glassmorphism & Card Shadows */
.med-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease-in-out;
}

.med-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
}

/* Signature Canvas */
.signature-canvas-container {
    position: relative;
    width: 100%;
    height: 160px;
    background-color: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 0.5rem;
    overflow: hidden;
    touch-action: none;
}

.signature-canvas {
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

/* Webcam Container */
.webcam-container {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #0f172a;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webcam-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webcam-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0f172a;
}

/* Drag & Drop Zone */
.dropzone {
    border: 2px dashed #3b82f6;
    background-color: #eff6ff;
    transition: all 0.2s ease-in-out;
}

.dropzone.dragover {
    border-color: #1d4ed8;
    background-color: #dbeafe;
    transform: scale(1.01);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
