/* 
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
*/
/* Import Montserrat Font */
@font-face {
    font-family: 'Montserrat';
    font-display: auto;
    src: url('https://deepkraken.de/wp-content/uploads/2025/05/Montserrat-VariableFont_wght.ttf') format('truetype');
}

/* Container Styling */
.ea-form.elementor-style {
    font-family: "Montserrat", Sans-serif;
}

/* Form Row Layout */
.ea-form .form-row {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.ea-form .form-row.full-width {
    width: 100%;
}
.ea-form .form-row.full-width > p {
	width: 100%;
}

.ea-form .form-row.half-width {
    display: flex;
    width: 100%;
}
.ea-form .form-row p {
	margin-bottom: 0;
}

.ea-form .form-col {
    flex: 1;
}

/* Input Field Styling - REMOVED BORDER RADIUS */
.ea-form input[type="email"],
.ea-form input[type="text"],
.ea-form input[type="tel"],
.ea-form textarea,
.ea-form select {
    width: 100%;
    background-color: #2F2F2F;
    border: none;
    color: #FFFFFF;
    font-family: "Montserrat", Sans-serif;
    font-weight: 300;
    padding: 12px 15px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 0; /* Changed from 3px to 0 */
    outline: none;
    transition: all 0.3s;
    box-sizing: border-box;
}

/* Placeholder Styling */
.ea-form input::placeholder,
.ea-form textarea::placeholder {
    color: #FFFFFF;
    opacity: 0.7;
}

/* Focus State */
.ea-form input:focus,
.ea-form textarea:focus,
.ea-form select:focus {
    background-color: #3a3a3a;
}

/* Fixed Checkbox Styling */
.ea-form .ea-accept {
    color: #FFFFFF;
    line-height: 25px;
    display: block;
    cursor: pointer;
    font-size: 14px;
    margin: 0;
}

/* Remove unnecessary br tags styling */
.ea-form .ea-accept br {
    display: none;
}

.ea-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.ea-form .wpcf7-list-item {
    margin: 0;
}

.ea-form .wpcf7-list-item-label {
    display: inline-flex;
    align-items: center; /* Changed from flex-start to center for better alignment */
    color: #FFFFFF;
    cursor: pointer;
}

.ea-form input[type="checkbox"] {
    width: 18px; /* Reduced from 24.5px for better proportions */
    height: 18px; /* Made square instead of rectangular */
    min-width: 18px;
    margin-right: 10px;
    margin-top: 0; /* Removed top margin for better alignment */
    accent-color: var(--e-global-color-82cc867, #0073e6);
    cursor: pointer;
    flex-shrink: 0;
}

/* Submit Button Styling - REMOVED BORDER RADIUS */
.ea-form input.ea-submit {
    background-color: var(--e-global-color-82cc867, #0073e6);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-family: "Montserrat", Sans-serif;
    font-weight: 500;
    font-size: 15px;
    border-radius: 0; /* Changed from 3px to 0 */
    cursor: pointer;
    transition: all 0.3s;
    width: auto;
    display: inline-block;
}

.ea-form input.ea-submit:hover {
    background-color: var(--e-global-color-82cc867, #0073e6);
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Error Messages */
.ea-form .wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.ea-form .wpcf7-response-output {
    margin: 15px 0 0 0;
    padding: 12px 15px;
    border-radius: 0; /* Changed from 3px to 0 */
    font-size: 14px;
    font-family: "Montserrat", Sans-serif;
}

/* Validation States */
.ea-form .wpcf7-not-valid {
    border: 1px solid #ff6b6b !important;
}

/* Loading Spinner */
.ea-form .wpcf7-spinner {
    margin-left: 10px;
}

/* If used in popup with dark background - REMOVED BORDER RADIUS */
.elementor-popup .ea-form.elementor-style,
#elementor-popup-modal-228 .ea-form.elementor-style {
    background-color: #000000;
    padding: 15px;
    border-radius: 0; /* Changed from 14px to 0 */
}

/* Responsive Design */
@media (max-width: 768px) {
    .ea-form .form-row.half-width {
        flex-direction: column;
    }
    
    .ea-form .form-col {
        width: 100%;
    }
    
    .ea-form input.ea-submit {
        width: 100%;
    }
}

/* Override any default CF7 styles */
.ea-form .wpcf7-form p {
    margin: 0;
}

.ea-form .wpcf7-form br {
    display: none;
}

/* Additional fixes for checkbox alignment */
.ea-form .wpcf7-checkbox label {
    display: flex;
    align-items: center;
    margin: 0;
}

.ea-form .wpcf7-checkbox input[type="checkbox"] {
    margin-top: 0;
    position: relative;
    top: 0;
}
.ea-form .form-row.confirm-row {
	margin: 0;
	height: 0;
}