.wpforms-hidden,
.wpforms-label-hide,
.wpforms-sublabel-hide {
    display: none;
}

.wpforms-field-label {
    color: #D6F245;
    font-size: 20px;
    margin-bottom: 10px;
    display: block;
}

.wpforms-container {
    fieldset {
        border: none;
        box-shadow: none;
        outline: none;
        padding: 0;
        margin: 0;
    }

    input, select, textarea {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.3);
        outline: none;
        box-shadow: none;
        border-radius: 50px;
        color: #fff;
        font-size: 20px;
        padding: 16px 16px;
        transition: all 0.2s;

        &:focus {
            border-color: var(--primary);
        }
    }

    input[type="radio"],
    input[type="checkbox"] {
        width: 20px;
        height: 20px;
        accent-color: #D6F245;
    }

    textarea {
        min-height: 120px;
        border-radius: 16px;
    }

    .wpforms-field-container {
        display: grid;
        gap: 24px;
    }

    .wpforms-field-row  {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;        
    }

    .wpforms-error {
        margin-top: 8px;
        font-size: 14px;
        color: #ff3c3c;
        display: block;
    }
    
    .wpforms-field-checkbox, .wpforms-field-radio {
        ul {
            padding: 0;
            margin: 0;
            list-style-type: none;
            display: grid;
            gap: 12px;
            
            li {
                cursor: pointer;
                display: grid;
                grid-template-columns: auto 1fr;
                gap: 8px;
                align-items: center;
            }
        }
    }


    .wpforms-field-checkbox {
        li {
            &:has(input:checked) {
            	label:before {
      				content: "";
    				background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 312.29 248.66'%3E%3Cpolygon fill='%23000' points='115.57 139.21 258.51 0 312.29 55.24 113.67 248.66 0 129.99 55.67 76.66 115.57 139.21'/%3E%3C/svg%3E");
    				background-repeat: no-repeat;
    				background-position: center;
    				background-size: 60%;
    				border: none;
    				background-color: #D6F245;
    				display: flex;
    				align-items: center;
    				justify-content: center;
    			}
            }
            
            input {
                display: none;
            }
            
            label {
                cursor: pointer;
                display: grid;
                grid-template-columns: auto 1fr;
                gap: 8px;
                align-items: center;                
                
        		&:before {
        			content: "";
        			cursor: pointer;
        			display: inline-block;
        			width: 22px;
        			height: 22px;
        			border: 1px solid rgba(255,255,255,0.5);
        			border-radius: 4px;
        			box-sizing: border-box;			
        		}                
            }
        }
    }
    

   .wpforms-field-radio {
        li {
            &:has(input:checked) {
            	label:before {
    				border-width: 6px;
    				border-color: #D6F245;
    			}
            }
            
            input {
                display: none;
            }
            
            label {
                cursor: pointer;
                display: grid;
                grid-template-columns: auto 1fr;
                gap: 8px;
                align-items: center;                
                
        		&:before {
        			content: "";
        			cursor: pointer;
        			display: inline-block;
        			width: 22px;
        			height: 22px;
        			border: 1px solid rgba(255,255,255,0.5);
        			border-radius: 50%;
        			box-sizing: border-box;			
        		}                
            }
        }
    }


    .wpforms-submit-container {
        button {
            background: #D6F245;
            color: black;
            font-weight: 600;
            border-radius: 250px;
            padding: 20px 32px;
        }

    }
}