/* Welcome inline Styles */
.welcome {
    margin-top: 20px;
    margin-bottom: 5px;
}
p.intro {
    margin-top: 5px;
    margin-bottom: 5px;
}
p.instructions {
    font-weight: bold;
}
.row_heading {
    font-size: 40px;
}
.font-14 {
    font-size:14px;
}
.error-message {
    display: none;
}

.image {
    background-image: url('/static/img/welcome.jpeg');
}

/* Terms and Conditions Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.terms-modal {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.terms-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid #e9ecef;
}

.terms-header h2 {
    margin: 0;
    font-size: 1.75rem;
    color: #212529;
    font-weight: 600;
}

.terms-content {
    padding: 32px;
    overflow-y: auto;
    flex-grow: 1;
    line-height: 1.6;
    color: #495057;
}

.agree-terms {
    font-family: Inter, sans-serif;
    font-size: 15px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.terms-document {
    margin-bottom: 30px;
}

.terms-description, .terms-instruction, .terms-follow-up {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.6;
}

.terms-actions {
    margin: 32px 0;
    display: flex;
    justify-content: center;
}

.terms-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0070c9;
    color: white;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0, 112, 201, 0.3);
}

.terms-button:hover {
    background-color: #005ba9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 112, 201, 0.4);
}

.terms-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 112, 201, 0.3);
}

.pdf-icon {
    margin-right: 10px;
}

.terms-confirmation {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.terms-checkbox {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.terms-checkbox + label {
    cursor: pointer;
    font-weight: 500;
}

.terms-footer {
    padding: 20px 32px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.btn-agree {
    background-color: #0070c9;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-agree:hover {
    background-color: #005ba9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-agree:active {
    transform: translateY(0);
}

.btn-agree:disabled {
    background-color: #adb5bd;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Hide the main content until terms are accepted */
.hidden {
    display: none;
}
/* Video button container */
.download-btn-container {
    text-align: center;
}


.download-btn {
    background-color: #0070c9;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: fit-content;
    margin: 0 auto;
    margin-top: 10px
}

.download-btn:hover {
    background-color: #005999;
}