/*
|--------------------------------------------------------------------------
| SharpLync Cyber Check
| Version: v1.2
|--------------------------------------------------------------------------
| Tool-specific styles only
|--------------------------------------------------------------------------
*/

.cyber-check {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.tool-header {
    color: #ffffff;
}

.tool-intro {
    opacity: 0.9;
}

/* IMPORTANT: This is what your JS relies on */
.hidden,
[hidden] {
    display: none !important;
}

/* Selector */
.check-selector {
    display: flex;
    gap: 14px;
    margin-top: 32px;
}

.check-selector button {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.check-selector button.active {
    background: #ffffff;
    color: #0A2A4D;
}

.check-selector button span {
    opacity: 0.6;
    font-weight: 500;
}

.check-selector button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

/* Assessment panel */
.check-form {
    background: #ffffff;
    color: #0A2A4D;
    border-radius: 14px;
    padding: 32px 36px;
    max-width: 900px;
    margin: 36px auto 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeUp 0.35s ease;
}

/* Headings */
.check-form h2 {
    margin-bottom: 6px;
}

.form-intro {
    color: #425B76;
    margin-bottom: 30px;
}

/* Questions */
.check-question {
    margin-bottom: 30px;
}

.question-title {
    font-weight: 600;
    margin-bottom: 12px;
}

/* Options */
.check-question label {
    display: block;
    margin-bottom: 8px;
    color: #2E4057;
    cursor: pointer;
}

.check-question input {
    margin-right: 8px;
}

/* Submit */
.form-actions {
    margin-top: 34px;
    text-align: right;
}

.btn-primary {
    background: #104946;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* Animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.result-box {
    background: #f5f8fb;
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 20px;
    color: #2E4057;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {

    .check-selector {
        flex-direction: column;
    }

    .check-form {
        padding: 22px 20px;
    }

    .form-actions {
        text-align: center;
    }
}
