/**
 * ME Solutions Contact Form CSS
 * Complete standalone styles for the contact form
 */

/* Contact Wrapper */
.mscf-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Text Section */
.mscf-contact-text {
    padding-top: 20px;
}

.mscf-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.mscf-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.mscf-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mscf-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mscf-contact-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.mscf-contact-item a {
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.mscf-contact-item a:hover {
    opacity: 0.8;
}

/* Form Wrapper */
.mscf-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(16px);
}

.mscf-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Form Groups */
.mscf-form-group {
    position: relative;
}

.mscf-form-group input,
.mscf-form-group textarea {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 16px;
    font-family: inherit;
    color: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mscf-form-group input:focus,
.mscf-form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 240, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.mscf-form-group label {
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 16px;
    opacity: 0.7;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mscf-form-group input:focus + label,
.mscf-form-group textarea:focus + label,
.mscf-form-group input:not(:placeholder-shown) + label,
.mscf-form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 16px;
    font-size: 12px;
    background: rgba(20, 20, 30, 0.9);
    padding: 4px 12px;
    border-radius: 12px;
}

.mscf-form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* Honeypot (hidden) */
.mscf-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* CAPTCHA Styling */
.mscf-captcha-group {
    background: rgba(255, 165, 0, 0.05);
    border: 2px solid rgba(255, 165, 0, 0.3) !important;
    border-radius: 16px;
    padding: 24px;
    margin: 8px 0;
}

.mscf-captcha-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mscf-captcha-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.mscf-captcha-question svg {
    color: #ffa500;
    flex-shrink: 0;
}

.mscf-captcha-math {
    font-weight: 700;
    color: #00f0ff;
    font-family: 'Courier New', monospace;
    font-size: 18px;
}

/* CAPTCHA Input Wrapper */
.mscf-captcha-container .mscf-form-group {
    margin: 0;
}

.mscf-captcha-group input {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    font-size: 18px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.mscf-captcha-group input:focus {
    outline: none;
    border-color: #ffa500;
    background: rgba(255, 165, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.2);
}

/* CAPTCHA Label - statisches Label unter der Frage */
.mscf-captcha-container label {
    position: static !important;
    font-size: 14px !important;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 0 !important;
    padding: 0 4px !important;
    background: transparent !important;
    border-radius: 0 !important;
    top: auto !important;
    left: auto !important;
    display: block;
}

.mscf-captcha-refresh {
    position: absolute;
    right: 0;
    top: 0;
    background: rgba(255, 165, 0, 0.2);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffa500;
}

.mscf-captcha-refresh:hover {
    background: rgba(255, 165, 0, 0.3);
    border-color: #ffa500;
    transform: rotate(180deg);
}

/* Submit Button */
.mscf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.mscf-btn-primary {
    background: linear-gradient(135deg, #00f0ff 0%, #a855f7 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 240, 255, 0.3);
}

.mscf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 240, 255, 0.4);
}

.mscf-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 968px) {
    .mscf-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mscf-title {
        font-size: 32px;
    }

    .mscf-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .mscf-title {
        font-size: 28px;
    }

    .mscf-description {
        font-size: 16px;
    }

    .mscf-form-wrapper {
        padding: 24px;
        border-radius: 16px;
    }

    .mscf-form-group input,
    .mscf-form-group textarea {
        padding: 16px;
    }

    .mscf-captcha-group {
        padding: 16px;
    }

    .mscf-btn {
        width: 100%;
        padding: 16px;
    }
}
