/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

	.glass {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
	}

.glass-grad {
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 82%,
    rgba(0, 0, 0, 0.95) 88%,
    rgba(0, 0, 0, 0.75) 93%,
    rgba(0, 0, 0, 0.45) 97%,
    rgba(0, 0, 0, 0.15) 99%,
    rgba(0, 0, 0, 0) 100%
  );

  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 82%,
    rgba(0, 0, 0, 0.95) 88%,
    rgba(0, 0, 0, 0.75) 93%,
    rgba(0, 0, 0, 0.45) 97%,
    rgba(0, 0, 0, 0.15) 99%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* =========================
   Contacta forms – compact, subtle glass look
   Applies to all Contacta forms
   ========================= */

/* Overall row spacing */
.contacta-webform-table .contacta-row {
    margin-bottom: 6px;
}

/* Remove extra top spacing from field wrappers */
.contacta-webform-table .input-field,
.contacta-webform-table .data-block,
.contacta-webform-table .input-block,
.contacta-webform-table .email-holder,
.contacta-webform-table .mobile-holder {
    margin-top: 0 !important;
}

/* Labels */
.contacta-webform-table label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #66817c;
}

/* Inputs and textarea – subtle glass */
.contacta-webform-table input[type="text"],
.contacta-webform-table input[type="email"],
.contacta-webform-table input[type="tel"],
.contacta-webform-table input[type="number"],
.contacta-webform-table input[type="search"],
.contacta-webform-table textarea,
.contacta-webform-table select {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    font-size: 13px;
    line-height: 1.35;
    color: #2f3a38;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.45),
        0 2px 10px rgba(0,0,0,0.04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* Placeholder */
.contacta-webform-table input::placeholder,
.contacta-webform-table textarea::placeholder {
    color: rgba(47, 58, 56, 0.45);
}

/* Textarea */
.contacta-webform-table textarea {
    min-height: 90px;
    resize: vertical;
}

/* Focus state */
.contacta-webform-table input[type="text"]:focus,
.contacta-webform-table input[type="email"]:focus,
.contacta-webform-table input[type="tel"]:focus,
.contacta-webform-table input[type="number"]:focus,
.contacta-webform-table input[type="search"]:focus,
.contacta-webform-table textarea:focus,
.contacta-webform-table select:focus {
    outline: none;
    border-color: #66817c !important;
    box-shadow:
        0 0 0 2px rgba(102, 129, 124, 0.12),
        0 3px 12px rgba(0,0,0,0.05);
    background: rgba(255, 255, 255, 0.9);
}

/* Phone field */
.contacta-webform-table .iti,
.contacta-webform-table .mobile-holder {
    width: 100%;
}

.contacta-webform-table .iti input[type="tel"] {
    padding-left: 52px;
}

/* Country selector */
.contacta-webform-table .iti__selected-flag {
    border-radius: 12px 0 0 12px;
    background: transparent;
}

/* Error messages */
.contacta-webform-table .error-msg,
.contacta-webform-table .error,
.contacta-webform-table control-messages {
    font-size: 10px;
    line-height: 1.25;
    margin-top: 2px;
}

/* Consent / opt-in area */
.contacta-webform-table .optIn,
.contacta-webform-table .checkbox {
    text-align: left;
}

/* Keep checkbox on the left, text beside it */
.contacta-webform-table .checkbox label,
.contacta-webform-table .optIn label {
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
    margin-bottom: 0;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #66817c;
    width: 100%;
}

/* Checkbox itself */
.contacta-webform-table .checkbox input[type="checkbox"],
.contacta-webform-table .optIn input[type="checkbox"] {
    width: auto;
    min-width: 14px;
    margin: 2px 0 0 0;
    flex: 0 0 auto;
    box-shadow: none;
}

/* Preserve button design entirely */
.contacta-webform-table .submitBtn button,
.contacta-webform-table .btn,
.contacta-webform-table .btn-primary {
    background: inherit;
    box-shadow: inherit;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Slightly tighter two-column rows when flex is used inline */
.contacta-webform-table .contacta-row[style*="display: flex"] {
    gap: 10px;
}