html {
    color: cyan;
    background-color: black;
}

/* Admin Question Creation Dropdown Menu */
.dropdown-container {
    margin: 20px 0;
    width: 100%;
    max-width: 400px;
}

.dropdown-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
    font-size: 14px;
}

.question-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: black;
    font-size: 14px;
}

.styled-select {
    position: relative;
    width: 100%;
}

#questionFormat {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#questionFormat:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

#questionFormat:hover {
    border-color: #bbb;
}

.styled-select::after {
    content: "▼";
    font-size: 12px;
    color: #555;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Style for dropdown options (works in some browsers) */
#questionFormat option {
    padding: 10px;
    background-color: white;
    color: #333;
}

/* Admin Multiple Choice Creation */
.question-form-container {
    width: 100%;
    max-width: 500px;
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin: 0;
}

/* Input styling */
.form-control {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background-color: white;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-bottom: 12px; /* Accounts for your <br> tags */
}

.form-control:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.form-control:hover {
    border-color: #bbb;
}

/* Specific styling for question text */
#questionText {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border-left: 4px solid #4a90e2;
}

/* Option styling - adds subtle numbering */
#option1,
#option2,
#option3,
#option4 {
    position: relative;
    padding-left: 40px;
}

/* Create option indicators */
#option1::before,
#option2::before,
#option3::before,
#option4::before {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #4a90e2;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

#option1::before {
    content: "A";
}
#option2::before {
    content: "B";
}
#option3::before {
    content: "C";
}
#option4::before {
    content: "D";
}

/* Button styling */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 12px 24px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    margin-top: 10px;
}

.btn-primary {
    color: #fff;
    background-color: #4a90e2;
    border-color: #4a90e2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #3a80d2;
    border-color: #3a80d2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.5);
}

/* Add a title to the form */
.form-title {
    margin-top: 0;
    color: #333;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Client multiple choice styling */
#questionContainerClient {
    width: 100%;
    max-width: 600px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    box-sizing: border-box;
}

#questionTextClient {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.4;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #4a90e2;
    border-radius: 0 4px 4px 0;
    width: auto;
}

#answerFormClient {
    margin-top: 20px;
}

#optionsContainerClient {
    margin-bottom: 30px;
}

/* Radio option styling */
.option-item {
    display: block;
    margin-bottom: 12px;
    position: relative;
    padding-left: 50px;
    cursor: pointer;
}

.option-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-custom {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.option-label {
    display: block;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #333;
    background-color: #f9f9fa;
}

/* Option marker */
.option-marker {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #555;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 1;
    transition: all 0.2s ease;
}

/* Hover states */
.option-item:hover .option-label {
    border-color: #bbb;
    background-color: #f0f0f0;
}

.option-item:hover .option-marker {
    background-color: #d0d0d0;
}

/* Selected states */
.option-item input[type="radio"]:checked + .option-marker {
    background-color: #4a90e2;
    color: white;
}

.option-item input[type="radio"]:checked ~ .option-label {
    border-color: #4a90e2;
    background-color: #e6f7ff;
}

/* Formatting for cardplay */
/* Style for dropdown options (works in some browsers) */
.dropdownStyle {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dropdownStyle option {
    padding: 10px;
    background-color: white;
    color: #333;
}

#chartContainer {
    height:350px;
    margin:50px;
}
