/**
 * File: resources/css/checkbox.css
 * Author: Yash Balotiya
 * Description: Styles for checkbox components.
 * Created on: 22/06/2025
 * Last Modified: 22/06/2025
 */

.checkbox-wrapper-18 .round {
    display: flex;
    align-items: center;
    gap: 10px;
    /* spacing between checkbox and text */
    position: relative;
}

.checkbox-wrapper-18 .round label {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    height: 28px;
    width: 28px;
    display: block;
    position: relative;
    flex-shrink: 0;
}

.checkbox-wrapper-18 .round label:after {
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    content: "";
    height: 6px;
    left: 8px;
    opacity: 0;
    position: absolute;
    top: 9px;
    transform: rotate(-45deg);
    width: 12px;
}

.checkbox-wrapper-18 .round input[type="checkbox"] {
    visibility: hidden;
    display: none;
}

.checkbox-wrapper-18 .round input[type="checkbox"]:checked+label {
    background-color: #66bb6a;
    border-color: #66bb6a;
}

.checkbox-wrapper-18 .round input[type="checkbox"]:checked+label:after {
    opacity: 1;
    top: 7px;
    left: 6px;
}