/* IEK KlickTipp Widget Styles */

/* Form Wrapper */
.iek-form-wrapper {
    max-width: 100%;
}

.iek-form {
    width: 100%;
}

/* Field Groups */
.iek-field-group {
    margin-bottom: 20px;
}

.iek-field-group:last-child {
    margin-bottom: 0;
}

/* Labels */
.iek-field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.iek-required {
    color: #d63638;
    font-weight: normal;
}

/* Input Fields */
.iek-field {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
}

.iek-field:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.iek-field::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* Button */
.iek-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: all 0.3s;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
}

/* Button Sizes */
.iek-button.elementor-size-xs {
    font-size: 16px;
    padding: 10px 20px;
}

.iek-button.elementor-size-sm {
    font-size: 15px;
    padding: 12px 24px;
}

.iek-button.elementor-size-md {
    font-size: 16px;
    padding: 15px 30px;
}

.iek-button.elementor-size-lg {
    font-size: 18px;
    padding: 20px 40px;
}

.iek-button.elementor-size-xl {
    font-size: 20px;
    padding: 25px 50px;
}

/* Button Alignment */
.iek-button-wrapper {
    display: flex;
}

.iek-button.elementor-align-center {
    margin: 0 auto;
}

.iek-button.elementor-align-start {
    margin-right: auto;
}

.iek-button.elementor-align-end {
    margin-left: auto;
}

.iek-button.elementor-align-stretch {
    width: 100%;
}

/* Button Hover */
.iek-button:hover {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 767px) {
    .iek-field-group {
        margin-bottom: 15px;
    }
    
    .iek-field {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .elementor-widget-iekwidget:not(.elementor-element-edit-mode) .iek-field-label {
        color: inherit;
    }
    
    .elementor-widget-iekwidget:not(.elementor-element-edit-mode) .iek-field {
        background-color: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
        color: inherit;
    }
    
    .elementor-widget-iekwidget:not(.elementor-element-edit-mode) .iek-field:focus {
        background-color: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.3);
    }
}

/* RTL Support */
.rtl .iek-button.elementor-align-start {
    margin-right: 0;
    margin-left: auto;
}

.rtl .iek-button.elementor-align-end {
    margin-left: 0;
    margin-right: auto;
} 