/* Nadcisnienie page specific styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    padding: 40px 40px 40px 200px;
    border-radius: 12px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-section h1 { font-size: 42px; margin-bottom: 10px; }
.hero-section p { font-size: 18px; opacity: 0.95; }
.pdf-button {
    background: white;
    color: #4CAF50;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.pdf-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.pdf-button svg {
    width: 20px;
    height: 20px;
    fill: #4CAF50;
}

/* Quiz Badge */
.quiz-badge {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #2196F3, #42A5F5);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border: 8px solid rgba(255,255,255,0.3);
}
.quiz-badge-icon { font-size: 40px; margin-bottom: 5px; }
.quiz-badge-text { font-size: 18px; text-align: center; line-height: 1.2; }

/* Quiz Container */
.quiz-container { background: white; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin-bottom: 30px; }

/* Quiz Instructions */
.quiz-instructions {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    padding: 25px 40px;
    border-radius: 12px 12px 0 0;
}
.quiz-instructions h2 { font-size: 24px; margin-bottom: 10px; }
.quiz-instructions p { font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
.quiz-instructions strong { font-weight: bold; }

/* Question Item */
.question-item {
    display: flex;
    gap: 20px;
    padding: 30px 40px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
}
.question-item:last-child { border-bottom: none; border-radius: 0 0 12px 12px; }
.question-item:hover { background: #f9f9f9; }

/* Question Icon */
.question-icon {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

/* Question Content */
.question-content { flex: 1; }
.question-header {
    background: linear-gradient(135deg, #C6E82F, #B8D62E);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.question-number { font-size: 18px; font-weight: bold; color: #333; }

/* Answer Options */
.answer-options { margin-bottom: 20px; }
.answer-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    cursor: pointer;
    transition: all 0.3s;
}
.answer-option:hover { padding-left: 10px; }

/* Custom Checkbox */
.checkbox-wrapper {
    position: relative;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}
.checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.custom-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border: 3px solid #2196F3;
    border-radius: 50%;
    background: white;
    transition: all 0.3s;
}
.checkbox-wrapper input[type="checkbox"]:checked ~ .custom-checkbox {
    background: #4CAF50;
    border-color: #4CAF50;
}
.custom-checkbox:after {
    content: "✓";
    position: absolute;
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
}
.checkbox-wrapper input[type="checkbox"]:checked ~ .custom-checkbox:after {
    display: block;
}

/* Answer Label */
.answer-label {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

/* Expert Comment Button */
.expert-comment-btn {
    background: linear-gradient(135deg, #4DB8C4, #5BC5D1);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.expert-comment-btn:hover {
    background: linear-gradient(135deg, #3DA7B3, #4AB4C0);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.expert-comment-btn:after {
    content: "▶";
    font-size: 14px;
}

/* Expert Comment Box */
.expert-comment {
    display: none;
    background: #F5F5F5;
    border-left: 4px solid #4DB8C4;
    padding: 20px;
    margin-top: 15px;
    border-radius: 0 8px 8px 0;
    line-height: 1.8;
    color: #333;
}
.expert-comment.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.expert-comment strong { color: #2196F3; }

/* Dotted Separator */
.dotted-separator {
    height: 8px;
    background-image: radial-gradient(circle, #C6E82F 2px, transparent 2px);
    background-size: 15px 15px;
    margin: 0 40px;
}

/* Submit Button */
.submit-quiz-btn {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    border: none;
    padding: 15px 50px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin: 0 auto 30px auto;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.submit-quiz-container {
    padding: 30px 40px;
    background: white;
    border-radius: 0 0 12px 12px;
}
.submit-quiz-btn:hover {
    background: linear-gradient(135deg, #388E3C, #66BB6A);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Results Section */
.quiz-results {
    display: none;
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 30px 0;
}
.quiz-results.active {
    display: block;
    animation: slideDown 0.5s ease-out;
}
.quiz-results h2 {
    font-size: 32px;
    margin-bottom: 20px;
}
.score-display {
    font-size: 72px;
    font-weight: bold;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.score-message {
    font-size: 20px;
    margin: 20px 0;
    line-height: 1.6;
}
.restart-btn {
    background: white;
    color: #4CAF50;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s;
}
.restart-btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}
