/*
Theme Name: Cryt
Author: Briaux
Description: Custom theme by Briaux Jithesh
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/


ol, ul {
  margin: 0 0 0 1em !important;
}


/* ==========================================
   CRYT HEADHUNTING FORM
   SECTION HEADINGS
   ========================================== */

.cryt-headhunting-form .cryt-form-section-title {

    margin: 0 0 12px 0 !important;
    padding: 0 0 7px 0 !important;

    border-bottom: 1px solid #d8dde2 !important;

    color: #071a2b !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}


/* Space before next section */

.cryt-headhunting-form .cryt-form-section-title:not(:first-child) {
    margin-top: 20px !important;
}


/* Keep fields compact */

.cryt-headhunting-form .cryt-form-grid {
    row-gap: 14px !important;
}


/* Full width fields */

.cryt-headhunting-form .cryt-full-field {
    margin-bottom: 14px !important;
}


/* Smaller textareas for candidate information */

.cryt-headhunting-form textarea {
    line-height: 1.45 !important;
}


/* Number input */

.cryt-headhunting-form input[type="number"] {

    display: block !important;

    width: 100% !important;
    height: 42px !important;

    margin: 0 !important;
    padding: 9px 12px !important;

    border: 1px solid #343a40 !important;
    border-radius: 2px !important;

    background: #ffffff !important;
    color: #17212b !important;

    font-family: inherit !important;
    font-size: 14px !important;

    outline: none !important;
    box-shadow: none !important;
}

.cryt-headhunting-form input[type="number"]:focus {

    border-color: #0878b9 !important;

    box-shadow:
        0 0 0 2px rgba(8, 120, 185, 0.08) !important;
}


/* Mobile */

@media (max-width: 767px) {

    .cryt-headhunting-form .cryt-form-section-title {
        font-size: 15px !important;
        margin-top: 18px !important;
    }

    .cryt-headhunting-form .cryt-form-section-title:first-child {
        margin-top: 0 !important;
    }
}


/* ==========================================
   CRYT CONTACT FORM - COMPACT VERSION
   ========================================== */

.cryt-enquiry-form,
.cryt-enquiry-form * {
    box-sizing: border-box;
}

/* Remove CF7 / Theme paragraph spacing */
.cryt-enquiry-form p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove unwanted spacing from CF7 wrapper */
.cryt-enquiry-form .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove BR spacing */
.cryt-enquiry-form br {
    display: none !important;
}


/* ==========================================
   TWO COLUMN GRID
   ========================================== */

.cryt-form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;

    column-gap: 24px !important;
    row-gap: 14px !important;

    width: 100% !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
}


/* ==========================================
   FIELD
   ========================================== */

.cryt-form-field {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================
   LABEL
   ========================================== */

.cryt-form-field label {
    display: block !important;

    margin: 0 0 5px 0 !important;
    padding: 0 !important;

    color: #111827 !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.cryt-form-field label span {
    color: #0878b9 !important;
}


/* ==========================================
   INPUTS
   ========================================== */

.cryt-enquiry-form input[type="text"],
.cryt-enquiry-form input[type="email"],
.cryt-enquiry-form input[type="tel"],
.cryt-enquiry-form select,
.cryt-enquiry-form textarea {

    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 9px 12px !important;

    border: 1px solid #343a40 !important;
    border-radius: 2px !important;

    background: #ffffff !important;
    color: #17212b !important;

    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.4 !important;

    box-shadow: none !important;
    outline: none !important;
}


/* Normal input height */

.cryt-enquiry-form input[type="text"],
.cryt-enquiry-form input[type="email"],
.cryt-enquiry-form input[type="tel"],
.cryt-enquiry-form select {

    height: 42px !important;
    min-height: 42px !important;
}


/* Textarea */

.cryt-enquiry-form textarea {

    height: 105px !important;
    min-height: 105px !important;

    resize: vertical !important;
}


/* ==========================================
   PLACEHOLDER
   ========================================== */

.cryt-enquiry-form input::placeholder,
.cryt-enquiry-form textarea::placeholder {

    color: #8a929b !important;
    opacity: 1 !important;
}


/* ==========================================
   FOCUS
   ========================================== */

.cryt-enquiry-form input:focus,
.cryt-enquiry-form select:focus,
.cryt-enquiry-form textarea:focus {

    border-color: #0878b9 !important;

    box-shadow:
        0 0 0 2px rgba(8, 120, 185, 0.08) !important;
}


/* ==========================================
   FULL WIDTH FIELDS
   ========================================== */

.cryt-full-field {

    width: 100% !important;

    margin: 0 0 14px 0 !important;
    padding: 0 !important;
}


/* ==========================================
   CONSENT
   ========================================== */

.cryt-consent {

    margin: 4px 0 14px 0 !important;
    padding: 0 !important;

    color: #5f6870 !important;

    font-size: 12px !important;
    line-height: 1.4 !important;
}

.cryt-consent p {
    margin: 0 !important;
    padding: 0 !important;
}

.cryt-consent label {

    display: flex !important;

    align-items: flex-start !important;

    gap: 7px !important;

    margin: 0 !important;
}

.cryt-consent input[type="checkbox"] {

    width: 15px !important;
    height: 15px !important;

    min-width: 15px !important;

    margin: 2px 0 0 0 !important;
}


/* ==========================================
   SUBMIT
   ========================================== */

.cryt-submit {

    margin: 0 !important;
    padding: 0 !important;
}

.cryt-submit p {

    margin: 0 !important;
    padding: 0 !important;
}

.cryt-submit input[type="submit"] {

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    height: 44px !important;
    min-height: 44px !important;

    padding: 0 24px !important;
    margin: 0 !important;

    border: 1px solid #0878b9 !important;
    border-radius: 2px !important;

    background: #0878b9 !important;
    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;

    cursor: pointer !important;

    transition: all 0.2s ease !important;
}

.cryt-submit input[type="submit"]:hover {

    background: #071a2b !important;
    border-color: #071a2b !important;
}


/* ==========================================
   CF7 VALIDATION
   ========================================== */

.cryt-enquiry-form .wpcf7-not-valid {

    border-color: #c62828 !important;
}

.cryt-enquiry-form .wpcf7-not-valid-tip {

    margin-top: 3px !important;

    font-size: 11px !important;
}


/* ==========================================
   RESPONSE
   ========================================== */

.cryt-enquiry-form .wpcf7-response-output {

    margin: 12px 0 0 0 !important;
    padding: 8px 12px !important;

    font-size: 13px !important;
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

    .cryt-form-grid {

        grid-template-columns: 1fr !important;

        column-gap: 0 !important;
        row-gap: 12px !important;

        margin-bottom: 12px !important;
    }

    .cryt-full-field {

        margin-bottom: 12px !important;
    }

    .cryt-enquiry-form input[type="text"],
    .cryt-enquiry-form input[type="email"],
    .cryt-enquiry-form input[type="tel"],
    .cryt-enquiry-form select {

        height: 42px !important;
        min-height: 42px !important;
    }

    .cryt-enquiry-form textarea {

        height: 105px !important;
        min-height: 105px !important;
    }

    .cryt-submit input[type="submit"] {

        width: 100% !important;
    }
}



/* ==========================================
   CRYT - NUMBER FIELD
   ========================================== */

.cryt-enquiry-form input[type="number"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;

    margin: 0 !important;
    padding: 9px 12px !important;

    border: 1px solid #343a40 !important;
    border-radius: 2px !important;

    background-color: #ffffff !important;
    color: #17212b !important;

    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.4 !important;

    outline: none !important;
    box-shadow: none !important;

    appearance: textfield !important;
    -webkit-appearance: textfield !important;
}

/* Chrome / Edge / Safari spinner */
.cryt-enquiry-form input[type="number"]::-webkit-inner-spin-button,
.cryt-enquiry-form input[type="number"]::-webkit-outer-spin-button {
    opacity: 1 !important;
}

/* Focus */
.cryt-enquiry-form input[type="number"]:focus {
    border-color: #0878b9 !important;
    box-shadow: 0 0 0 2px rgba(8, 120, 185, 0.08) !important;
}

/* Placeholder */
.cryt-enquiry-form input[type="number"]::placeholder {
    color: #8a929b !important;
    opacity: 1 !important;
}

