/* #psy-test-form {
    max-width: 700px;
    margin: auto;
} */

.psy-question {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.psy-type {
    margin-top: 30px;
    font-size: 20px;
}

button {
    padding: 10px 20px;
    margin-top: 20px;
}

.success {
    color: green;
    font-weight: bold;
}
 /* .psy-option {
    display: flex;
    align-items: left;
    cursor: pointer;
    margin-bottom: 8px;
    font-size: 15px;
}

.psy-option input {
    display: none;
}

.psy-box {
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-radius: 4px; 
    margin-right: 10px;
    position: relative;
}

.psy-option input:checked + .psy-box::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 8px;
    height: 8px;
    background: #333;
}  */
/* WRAPPER */
.psy-form-wrapper {
    max-width: 100%;
    margin: 10px;
    font-family: Poppins, sans-serif;
    color: #0b2545;
}

/* TITLE */
.psy-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 0;
    color: #0b2545;
    padding-left: 30px;
}

/* TOP SECTION */
.psy-top-section {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.psy-image img {
    width: 500px;
    border-radius: 6px;
}

/* BASIC FORM */
/* .psy-basic-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    flex: 1;
}

.psy-basic-form input,
.psy-basic-form select {
    padding: 10px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 13px;
} */

/* START BUTTON */
.psy-start-btn {
    grid-column: span 2;
    background: #0b2545;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* INSTRUCTION BAR */
.psy-instruction {
    background: linear-gradient(90deg,#e53935,#8e24aa,#0d2c54);
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    margin: 25px 0;
    font-size: 14px;
}

/* NOTE BAR */
.psy-note {
    background: linear-gradient(90deg,#ff3b4d,#7b2c6f,#0b2a4a);
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    margin: 30px 0 15px;
    font-size: 14px;
}
.psy-image {
    padding: 30px;
}
/* QUESTIONS */
/* .psy-question {
    margin-bottom: 25px;
} */

.psy-question-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* LIKERT SCALE */
/* .psy-likert {
    margin-bottom: 25px;
} */

.psy-likert p {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.psy-likert label {
    display: inline-block;
    margin-right: 25px;
    font-size: 13px;
}

/* SUBMIT */
.psy-submit-btn {
    background: #0b2545;
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* CONTAINER */
.psy-label {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* HIDE DEFAULT RADIO */
.psy-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #cfcfcf;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    margin-right: 6px;
}

/* CHECKED STATE */
.psy-label input[type="radio"]:checked {
    background-color: #0b2545;
    border-color: #0b2545;
}

/* CHECK ICON */
.psy-label input[type="radio"]:checked::after {
    content: "✔";
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: -1px;
    left: 2px;
}

/* LABEL */
.psy-label label {
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    /* .psy-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    } */

    .psy-label {
    display: block;
    gap: 0px;
    align-items: start;
}
}

/* besic form user info */

/* Wrapper */
.psy-basic-form {
    width: 50%;
    /* margin: 0 auto; */
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    background: #ffffff;
    font-family: "Segoe UI", sans-serif;
}

/* Inputs & Select */
.psy-basic-form input,
.psy-basic-form select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fff;
    font-size: 14px;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    outline: none;
}

/* Placeholder color */
.psy-basic-form input::placeholder {
    color: #bdbdbd;
}

/* Select arrow spacing */
.psy-basic-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23999' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
}

/* Date icon spacing */
.psy-basic-form input[type="date"] {
    padding-right: 40px;
}

/* Error message */
.error-msg {
    grid-column: span 1;
    font-size: 12px;
    color: red;
    margin-top: -10px;
}

/* Full width fields */
.psy-basic-form input[placeholder="Sport(s) you play"],
.psy-basic-form input[placeholder="City"],
#startTestBtn {
    grid-column: span 2;
}

/* Button */
#startTestBtn {
    margin-top: 10px;
    padding: 15px;
    border-radius: 10px;
    border: none;
    background: #0b2a52;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

/* Button hover */
#startTestBtn:hover {
    background: #083060;
}
.psy-basic-question p {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}
.psy-basic-question select {
    width: 100%;
    font-size: 14px;
    color: rgb(51, 51, 51);
    box-shadow: rgba(0, 0, 0, 0.04) 0px 2px 6px;
    padding: 14px 16px;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(238, 238, 238);
    border-image: initial;
    background: rgb(255, 255, 255);
    outline: none;
}

.psy-pdf-btn {
    display: none;
    padding: 12px 22px;
    background-color: #2b6cb0;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.psy-pdf-btn:hover {
    background-color: #1e4f8a;
    transform: translateY(-2px);
}

.psy-pdf-btn:active {
    transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 600px) {
    .psy-basic-form {
        grid-template-columns: 1fr;
    }

    #startTestBtn {
        grid-column: span 1;
    }
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .psy-top-section {
        flex-direction: column;
    }

    .psy-image img {
        width: 100%;
    }

    .psy-basic-form {
        width: 100%;
        grid-template-columns: 1fr;
    }
   
}

