/* Blue Karjeros Testas - Main Styles */

#blue-karjeros-testas-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    box-sizing: border-box;
}

#blue-karjeros-testas-container * {
    box-sizing: border-box;
}

/* Screen visibility */
.bkt-screen {
    display: none;
}

.bkt-screen.active {
    display: block;
}

/* Start Screen */
.bkt-start-content {
    text-align: center;
}

.bkt-start-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bkt-start-image img {
    width: 100%;
    height: auto;
    display: block;
}

.bkt-start-description {
    text-align: center;
    color: #333;
    line-height: 1.6;
    margin-top: 20px;
    padding: 0 10px;
}

.bkt-start-description p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* Primary Button */
.bkt-btn-primary {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    margin: 20px 0;
}

.bkt-btn-primary:hover {
    background-color: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

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

/* Progress indicator */
.bkt-progress {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.bkt-progress span:first-child {
    font-weight: 700;
    color: #2196F3;
    font-size: 22px;
}

/* Question Image */
.bkt-question-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bkt-question-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/2;
    object-fit: cover;
}

/* Question Text */
.bkt-question-text {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.4;
    padding: 0 10px;
}

/* Answers */
.bkt-answers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.bkt-answer-btn {
    background-color: #fff;
    border: 2px solid #e0e0e0;
    padding: 16px 20px;
    font-size: 16px;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    line-height: 1.4;
}

.bkt-answer-btn:hover {
    border-color: #2196F3;
    background-color: #f5f9ff;
    transform: translateX(5px);
}

.bkt-answer-btn:active {
    background-color: #e3f2fd;
}

.bkt-answer-btn.selected {
    border-color: #2196F3;
    background-color: #e3f2fd;
}

/* Result Screen */
.bkt-result-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bkt-result-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
}

.bkt-result-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.bkt-result-content h2 {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

#bkt-result-text {
    color: #444;
    line-height: 1.7;
    font-size: 16px;
    text-align: justify;
}

#bkt-result-text p {
    margin-bottom: 15px;
}

#bkt-result-text p:last-child {
    margin-bottom: 0;
}

.bkt-author {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.bkt-author p {
    margin-bottom: 10px;
}

.bkt-author a {
    color: #2196F3;
    text-decoration: none;
}

.bkt-author a:hover {
    text-decoration: underline;
}

#bkt-restart-btn {
    display: block;
    margin: 0 auto;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    #blue-karjeros-testas-container {
        padding: 15px;
    }
    
    .bkt-start-description p {
        font-size: 15px;
    }
    
    .bkt-btn-primary {
        padding: 14px 35px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }
    
    .bkt-progress {
        font-size: 16px;
    }
    
    .bkt-progress span:first-child {
        font-size: 20px;
    }
    
    .bkt-question-text {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .bkt-answer-btn {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .bkt-result-content {
        padding: 20px;
    }
    
    .bkt-result-content h2 {
        font-size: 20px;
    }
    
    #bkt-result-text {
        font-size: 15px;
        text-align: left;
    }
}

@media screen and (max-width: 480px) {
    #blue-karjeros-testas-container {
        padding: 10px;
    }
    
    .bkt-start-description p {
        font-size: 14px;
    }
    
    .bkt-btn-primary {
        padding: 12px 30px;
        font-size: 15px;
    }
    
    .bkt-question-text {
        font-size: 16px;
    }
    
    .bkt-answer-btn {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .bkt-answer-btn:hover {
        transform: none;
    }
    
    .bkt-result-content {
        padding: 15px;
    }
    
    .bkt-result-content h2 {
        font-size: 18px;
    }
    
    #bkt-result-text {
        font-size: 14px;
    }
    
    .bkt-author {
        font-size: 14px;
    }
}

/* Animation for screen transitions */
.bkt-screen {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Loading state for images */
.bkt-question-image img,
.bkt-start-image img,
.bkt-result-image img {
    background-color: #f5f5f5;
}
