/* Styles for Forms */

input {
    cursor: pointer;
}

form .user-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px 0 12px 0;   
}

form .user-details .input-box {
    margin-bottom:  15px;
    width: calc(100% / 2 - 20px);
}

.user-details .input-box .details {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}

.user-details .input-box input {
    height: 45px;
    width: 100%;
    outline: none;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding-left: 15px;
    font-size: 1rem;
    border-bottom-width: 2px;
    transition: all 0.3s ease;
}

.user-details .input-box input:focus{
    border-color: #9b59b6;
}

form .radio-group .radio-group-title {
    font-size: 20px;
    font-weight: 500;
    background: rgba(255,255,255, 0.5);
}

form .radio-group .category {
    display: flex;
    width: 80%;
    margin: 14px 0;
    gap: 40px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

form .radio-group .category label {
    display: flex;
    align-items: center;
}

form .radio-group .category .dot {
    height: 18px;
    width: 18px;
    background: #d9d9d9;
    border-radius: 50%;
    margin-right: 10px;
    border: solid 5px transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

form .radio-group .radio-title {
    cursor: pointer;
}

#dot-1:checked ~ .category label .one,
#dot-2:checked ~ .category label .two {
    border-color: #d9d9d9;
    background: #9b59b6;
}

form input[type="radio"] {
    display: none;
}

form .button {
    height: 45px;
    margin: 45px 0;
}

form .button input {
    cursor: pointer;
    height: 100%;
    width: 100%;
    outline: none;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 5px;
    background: linear-gradient(135deg, #71b7e6, #9b59b6);
}

form .button input:hover {
    background: linear-gradient(-135deg, #71b7e6, #9b59b6);
}

@media (max-width: 584px) {
    .content-box {
        max-width: 100%;
    }
    form .user-details .input-box {
        margin-bottom:  15px;
        width: 100%;
    }
    form .radio-group .category {
        width: 100%;
    }
    form .user-details {
        max-height: 300px;
        overflow-y: scroll;
    }
    .user-details::-webkit-scrollbar {
        width: 0;
    }
    
}