@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: ; */
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.4;
}

#welcomeCandidateName{
    text-transform: uppercase;
}

.header > h2{
    font-size: x-large;
    color: #000;
    font-family: "Poppins", sans-serif;
}
.header > .para{
    font-size: large;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: #000;
}

/* Screen Management */
.screen {
    display: none;
    min-height: 100vh;
}

.screen.active {
    display: block;
}

/* Login Screen */
.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h2 {
    color: #003366;
    margin-bottom: 10px;
    font-size: 24px;
}

.header p {
    color: #666666;
    font-size: 16px;
}

.login-form {
    background-color: #ffffff;
    border: 2px solid #cccccc;
    padding: 30px;
    width: 100%;
    max-width: 400px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #cccccc;
    font-size: 14px;
}

/* Buttons */
.btn-primary {
    background-color: #0066cc;
    color: white;
    border: 1px solid #0066cc;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
    margin: 2px;
    border-radius: 3px;
}

.btn-primary:hover {
    background-color: #0052a3;
}

.btn-secondary {
    background-color: #f8f9fa;
    color: #000000;
    border: 1px solid #ced4da;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
    margin: 2px;
    border-radius: 3px;
}

.btn-secondary:hover {
    background-color: #e2e6ea;
}

/* Instructions Screen */
.instructions-container {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.candidate-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    padding: 15px;
    background-color: #f8f9fa;
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-row {
    display: flex;
    gap: 10px;
}

.info-label {
    font-weight: bold;
    min-width: 120px;
}

.info-value {
    color: #0066cc;
}

.help-section {
    align-self: flex-start;
}

.welcome-message {
    margin: 20px 0;
    text-align: center;
    font-size: 16px;
}

.general-instructions {
    margin: 20px 0;
}

.general-instructions h3 {
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.general-instructions ul {
    font-size: 14.5px;
    line-height: 1.4;
}

.general-instructions li {
    margin-bottom: 5px;
}

.test-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid #000;
}

.test-summary-table th,
.test-summary-table td {
    border: 1px solid #000;
    padding: 8px;
    text-align: center;
    font-size: 12px;
}

.fast-logo > img{
    height: 50px;
    width: 50px;
}

.test-summary-table th {
    background-color: #e0e0e0;
    font-weight: bold;
}

.agreement-section {
    margin: 20px 0;
    text-align: center;
}

.checkbox-container {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
}

.start-test-section {
    text-align: center;
    margin: 30px 0;
}

.start-test-btn {
    background-color: #4CAF50;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 5px;
}

.start-test-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.developer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #666;
    flex-wrap: nowrap;
}

.developer-credit p {
    margin: 0;
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.developer-credit .separator {
    color: #ccc;
    font-size: 14px;
    font-weight: 300;
    margin: 0 4px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    color: #666;
    opacity: 0.7;
    flex-shrink: 0;
}

.social-links a:hover {
    opacity: 1;
    color: #333;
    transform: translateY(-1px);
    text-decoration: none;
}

.social-links svg {
    width: 16px;
    height: 16px;
    transition: all 0.2s ease;
}

/* Test Screen */
.test-page-header {
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.candidate-info {
    font-size: 11px;
    color: #666666;
}

.fast-logo {
    text-align: right;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
}

.logo-subtitle {
    font-size: 8px;
    margin-top: -5px;
}

.section-info-header {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
}

.section-info-right {
    text-align: right;
}

.test-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.question-panel {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    padding: 20px;
}

.question-header {
    background-color: #f0f0f0;
    padding: 10px;
    margin-bottom: 0px;
    border: 1px solid #cccccc;
}

.question-header h3 {
    font-size: 16px;
    color: #000000;
    font-weight: bold;
}

/* Red warning banner for last question */
.last-question-warning {
    background-color: #dc3545;
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
}

.question-content {
    margin-bottom: 30px;
}

.question-content p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.options {
    margin-left: 0px;
}

.option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    cursor: pointer;
    padding: 3px 0;
}

.option input[type="radio"] {
    margin-right: 8px;
}

.option-letter {
    font-weight: bold;
    margin-right: 15px;
    min-width: 15px;
}

.option-text {
    font-size: 14px;
}

.navigation-buttons {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    border-top: 1px solid #cccccc;
    padding-top: 15px;
    gap: 8px;
    background-color: #f8f9fa;
    padding: 15px;
    margin-top: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #ffffff;
    border: 2px solid #003366;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    background-color: #003366;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 16px;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #cccccc;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px;
    border-top: 1px solid #cccccc;
    text-align: center;
}

.warning-text {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    margin: 15px 0;
}

.warning-text p {
    margin-bottom: 5px;
    font-size: 14px;
}

/* Question Grid */
.question-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 10px;
    padding: 20px;
}

.question-number {
    width: 40px;
    height: 40px;
    border: 2px solid #cccccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    background-color: white;
}

.question-number:hover {
    background-color: #f0f0f0;
}

.question-number.answered {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.question-number.current {
    border-color: #003366;
    border-width: 3px;
}

/* Summary Screen */
.summary-container {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.summary-header {
    margin-bottom: 30px;
}

.summary-header h2 {
    color: #003366;
    font-size: 28px;
}

.summary-card {
    background-color: #ffffff;
    border: 2px solid #003366;
    margin-bottom: 20px;
}

.candidate-info {
    min-width: 30px;
    border-radius: 5px;
    background-color: #0066cc;
    color: #fff;
    font-size: medium;
    padding: 8px;
}

.candidate-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.candidate-info p {
    margin: 5px 0;
    font-size: 14px;
}

.score-details {
    padding: 20px;
    text-align: left;
}

.section-score {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #eeeeee;
}

.section-score:last-child {
    border-bottom: none;
}

.summary-footer {
    background-color: #f0f0f0;
    padding: 15px;
    border-top: 1px solid #cccccc;
    font-size: 14px;
}

.summary-footer p {
    margin: 5px 0;
}

/* Locked Screen */
.locked-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
}

.locked-container h2 {
    color: #dc3545;
    font-size: 32px;
    margin-bottom: 20px;
}

.locked-container p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #666666;
}

/* Calculator Button Styles */
.calculator-section {
    margin-top: 15px;
    text-align: center;
    width: 100%;
}

.calculator-btn {
    background-color: #007bff;
    color: white !important;
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    min-height: 44px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    margin-bottom: 8px;
}

.calculator-btn:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.calculator-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

.calculator-description {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* WhatsApp Group Button Styles */
.whatsapp-group-section {
    margin-top: 15px;
    text-align: center;
    width: 100%;
}

.whatsapp-group-btn {
    background-color: #25D366;
    color: white !important;
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    min-height: 44px; /* Touch-friendly size */
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-group-btn:hover {
    background-color: #128C7E;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-group-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.whatsapp-group-btn svg {
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .test-page-header {
        padding: 8px 15px;
        font-size: 11px;
    }
    
    .section-info-header {
        padding: 6px 15px;
        font-size: 11px;
    }
    
    .navigation-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .question-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
        gap: 8px;
        padding: 15px;
    }
    
    .question-number {
        width: 35px;
        height: 35px;
    }
    
    .instructions-container {
        padding: 15px;
    }
    
    .candidate-info-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .info-section {
        width: 100%;
    }
    
    /* Developer credit mobile adjustments */
    .developer-credit {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 10px;
        font-size: 11px;
    }
    
    .developer-credit p {
        font-size: 11px;
    }
    
    .social-links {
        gap: 6px;
    }
    
    /* Calculator Button mobile styles */
    .calculator-section {
        margin-top: 12px;
        padding: 0 15px;
    }
    
    .calculator-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
        font-size: 14px;
        min-height: 48px;
    }
    
    .calculator-description {
        font-size: 11px;
        padding: 0 10px;
    }
    
    /* WhatsApp Group Button mobile styles */
    .whatsapp-group-section {
        margin-top: 12px;
        padding: 0 15px;
    }
    
    .whatsapp-group-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
        font-size: 14px;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .test-page-header {
        padding: 8px;
        font-size: 10px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-subtitle {
        font-size: 7px;
    }
    
    .section-info-header {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .test-container {
        padding: 10px;
    }
    
    .question-panel {
        padding: 15px;
    }
    
    .question-content p {
        font-size: 14px;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 5px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        margin: 3px 0;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .instructions-container {
        padding: 15px;
    }
    
    .candidate-info-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .test-summary-table {
        font-size: 11px;
    }
    
    .test-summary-table th,
    .test-summary-table td {
        padding: 6px 4px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        padding: 6px;
    }
    
    /* Developer credit adjustments for very small screens */
    .developer-credit {
        flex-direction: column;
        gap: 6px;
        padding: 8px;
        font-size: 10px;
        text-align: center;
    }
    
    .developer-credit p {
        font-size: 10px;
        margin-bottom: 4px;
    }
    
    .developer-credit .separator {
        display: none; /* Hide separator on very small screens */
    }
    
    .social-links {
        gap: 4px;
        justify-content: center;
    }
    
    .social-links svg {
        width: 14px;
        height: 14px;
    }
    
    /* Calculator Button mobile styles for very small screens */
    .calculator-section {
        margin-top: 10px;
        padding: 0 10px;
    }
    
    .calculator-btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 18px;
        font-size: 15px;
        min-height: 52px;
        gap: 10px;
    }
    
    .calculator-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .calculator-description {
        font-size: 11px;
        padding: 0 5px;
    }
    
    /* WhatsApp Group Button mobile styles for very small screens */
    .whatsapp-group-section {
        margin-top: 10px;
        padding: 0 10px;
    }
    
    .whatsapp-group-btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 18px;
        font-size: 15px;
        min-height: 52px;
        gap: 10px;
    }
    
    .whatsapp-group-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Disable text selection and right-click context menu */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection only in input fields */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
} 