/* VideoEZ Contracts Frontend */

.videoez-contract-wrap {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.videoez-contract-body h2,
.videoez-contract-body h3 {
    margin-top: 24px;
    margin-bottom: 10px;
}

.videoez-contract-body hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0;
}

.videoez-contract-body p {
    margin: 0 0 12px;
    line-height: 1.7;
}

.videoez-contract-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 16px 20px;
    color: #b91c1c;
    font-size: 14px;
}

.videoez-contract-already-signed {
    text-align: center;
    padding: 40px 20px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 10px;
}

.videoez-contract-already-signed h3 {
    font-size: 22px;
    color: #0d1b3e;
    margin: 0 0 10px;
}

.videoez-btn {
    display: inline-block;
    background: #0d1b3e;
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    margin-top: 16px;
}

.videoez-btn:hover { background: #1a3a6e; color: #fff; }

/* Signature canvas */
#videoez-sig-canvas {
    cursor: crosshair;
    max-width: 100%;
}

/* Sig tab active */
.videoez-sig-tab.active {
    background: #0d1b3e !important;
    color: #fff !important;
    border-color: #0d1b3e !important;
}

/* Submit button enabled */
#videoez-submit-contract:not(:disabled) {
    background: #0d1b3e !important;
    cursor: pointer !important;
}

#videoez-submit-contract:not(:disabled):hover {
    background: #1a3a6e !important;
}

@media (max-width: 600px) {
    #videoez-sig-canvas { width: 100% !important; height: 120px !important; }
    .videoez-contract-wrap { padding: 16px !important; }
}
