/* CSS reset */

html {
    background-color: #ccc;
}

/* header */



.selector {
    background-color: #eee;
    padding: 10px;
    margin: 0 !important;
    width: 100%;
    display: none;
}

.content {
    padding: 0;
    margin: 0;
}


.technologySelector {
    width: 100%;
}

.questionanswer {
    padding: 10px 10px 30px 10px;
    margin: 10px 10px 30px 10px;
    border: 1px solid whitesmoke;
}


/* .question {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.5rem;
} */


.question{
    background-color: #36f0ff;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    border-left: 5px solid transparent;
    transition: border-color 0.3s ease-in-out;
}

.question.expanded{
    border-left: 5px solid #007bff;
}

.not-completed{
    color: #777;
}

.answer {
    font-size: 1.25rem;
}


/* accordion styles */

.accordion {
    background: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

.active,
.accordion:hover {
    /* background-color: #ccc; */
}

.accordion-body {
    padding: 0.625rem !important;
    /* margin: 0 !important; */
}

.panel {
    padding: 0 18px;
    background-color: whitesmoke;
    display: none;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}


/* select language button tabs */

.question-types {
    /* margin-bottom: 20px; */
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    border-bottom: 2px solid #007bff;
    padding: 15px;
    margin-top: 40px;
    /* overflow-x: scroll; */
}

.question-types button {
    flex: 1;
    /* margin: 5px; */
    padding: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    /* border-radius: 5px 5px 0 0; */
    cursor: pointer;
    text-align: center;
    font-size: 1.125rem;
    transition: background-color 0.3s;
}

.question-types button:hover {
    background-color: #0056b3;
}

.question-types button.active {
    background-color: whitesmoke;
    color: #007bff;
    border: 2px solid #007bff;
    border-bottom: none;
}


/* Answer styles */

.innerHeading {
    /* background-color: #007bff; */
    color: #007bff;
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: bold;
    padding: 5px;
    margin: 0 0;
    margin-bottom: 10px;
    border-radius: 2px 2px 0 0;

}

.childKey {
    margin-bottom: 10px;
    text-decoration: underline;
    font-size: 1.125rem;

}

.childValue {
    margin-bottom: 20px;
    font-size: 1rem;

}

.childSubParent {
    background: blue;
    color: white;
    font-size: 1.125rem;
    text-transform: uppercase;
    padding: 5px;
    margin: 25px 0;
    margin-bottom: 10px;
    border-radius: 2px 2px 0 0;
}


.subparentWrapper {
    /* border: 1px dotted black; */
    padding: 5px;
    margin-left: 10px;
}

/* .wrapperElement-defination{
    border: 1px solid orangered;
}

.wrapperElement-explanation{
    border: 1px solid blueviolet;
}

.wrapperElement-important{
    border: 1px solid yellowgreen;
} */




/* card */

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
    padding: 15px;
    /* max-width: 400px;  */
    /* margin: 10px auto;  */
    margin-bottom: 5px;
    border: 1px solid #ddd;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    transition: 0.3s;
}


.card-header {
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.card-footer {
    border-top: 1px solid #ddd;
    padding-top: 8px;
    margin-top: 8px;
    text-align: right;
    font-size: 0.9em;
    color: #666;
}

/* checkbox */

.checkbox-label {
    font-weight: normal !important;
    font-size: 1rem;
    padding: 10px 0;
}


.cloned-checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px;
    border-top: 1px solid #ddd;
    margin-top: 12px;
    /* background-color: #f9f9f9; */
    border-radius: 4px;
}

.cloned-checkbox-wrapper input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.cloned-checkbox-wrapper .checkbox-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    background-color: transparent;
}

.cloned-checkbox-wrapper .completed{
    /* background-color: #d4f8d4; */
    /* color: #115724; */
    /* border-left: 5px solid #28a745 ; */
    border-left: none;
    padding: 10px;
}

#progress-container {
    position: relative;
    /* top: 50px; */
    left: 0;
    width: 90%;
    /* height: 10px; */
    /* background-color: whitesmoke; */
    background-color: #ddd;
    /* border-radius: 5px; */
    border-radius: 10px;
    overflow: hidden;
    height: 25px;
    /* z-index: 1000; */
    text-align: center !important;
}

.progress-bar {
    height: 100%;
    width: 0%;
    /* background-color: #007bff; */
    background: linear-gradient(90deg, #007bff, #0056b3);
    transition: width 0.3s ease-in-out;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    /* position: absolute; */
    left: 0;
    top: 0;
    /* width: 100%; */
    position: relative;
    border-radius: 10px;
    transition: width 0.3s ease-in-out;
}

#progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

#completionMessage {
    display: none;
}



.completed{
    background-color: #d4f8d4;
    color: #115724;
    border-left: 5px solid #28a745 ;
    padding: 10px;
}

.completed::before{
    /* content: '✅ '; */
    font-weight: bold;
}



.topic-progress{
    background-color: #ccc;
    /* background-color: (90deg, #007bff, #0056b3); */

    height: 20px;
    border-radius: 5px;
    
}

.topic-progress-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.topic-progress-wrapper > * {
    flex: 1;
}


.progress-bar-topic{
    width: 0%;
    height: 20px;
    /* background: #4caf50; */
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 5px;
    text-align: center;
    color: white;
    line-height: 20px;
    transition: width 0.3s ease-in-out;
}


/* .styled-dropdown {
    padding: 10px;
    margin: 5px;
    border: 2px solid #007bff;
    border-radius: 5px;
    font-size: 16px;
    text-transform: uppercase;
    width: 100%;
    background-color: white;
    color: #007bff;
    font-weight: bold;
}

.styled-dropdown:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 91, 187, 0.5);
} */


.styled-dropdown{
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
}

.styled-dropdown:hover{
    border-color: #007bff;
}


.dropdown-wrapper {
    margin-bottom: 15px;
    /* width: 100%; */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dropdown-label {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .styled-dropdown {
        font-size: 14px;
        padding: 8px;
    }

    .dropdown-label {
        font-size: 16px;
    }
}



@media (max-width: 480px) {
    .styled-dropdown {
        font-size: 12px;
        padding: 6px;
    }

    .dropdown-label {
        font-size: 14px;
    }
}