:root {
    --primary-blue: #0d6efd;
    --deep-blue: #06409e;
}

body {
    font-family: 'Lexend', sans-serif;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-blue) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #ffffff;
}

/* Elegant, semi-transparent inputs */
.custom-input {
    width: 100% !important; 
    box-sizing: border-box !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px;
    padding: 14px 16px;
    color: #ffffff !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.custom-input:focus {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15) !important;
    outline: none;
}

select.custom-input option {
    background-color: var(--deep-blue);
    color: #ffffff;
}

.form-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    display: block; /* Forces label to take up full width for perfect left alignment */
}

#location {
    color: #fff; /* text colour */
    background-color: #212529; /* your dark theme background */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3e%3cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592c.86 0 1.319 1.013.753 1.658l-4.796 5.482a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem; /* space for arrow */
    appearance: none; /* hides native arrow */
}


.notice-box {
    /* The Glass Background: Dark, semi-transparent */
    background: rgba(0, 0, 0, 0.15); 
    
    /* The Magic Blur: Frosted glass effect */
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    
    /* The Glass Edge: Subtle white reflective border */
    border: 1px solid rgba(255, 255, 255, 0.15); 
    
    color: #ffffff; /* Crisp white text */
    border-radius: 12px;
    padding: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    
    /* Soft shadow to lift the glass off the background */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}

/* Signature Area */
.signature-wrapper {
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#signatureCanvas {
    background-color: #ffffff !important;
    display: block;
}