/* Contact Page Styles */
.contact-page-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-title {
    font-size: 1.8em;
    color: #fff;
    margin-bottom: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form-wrapper {
    width: 100%;
}

/* Form Styles */
.cm-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
    margin: 0;
}

.cm-field {
    margin-bottom: 20px;
}

.cm-field label {
    display: block;
    color: #fff;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cm-field input[type="text"],
.cm-field textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.cm-field input[type="text"]:focus,
.cm-field textarea:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.cm-field textarea {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
}

.cm-btn {
    width: 100%;
    padding: 12px 25px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.cm-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f6391 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

.cm-btn:active {
    transform: translateY(0);
}

/* CAPTCHA Styling */
.cm-captcha {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cm-captcha .code {
    font-family: monospace;
    padding: 12px 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    letter-spacing: 4px;
    font-size: 1.3em;
    border-radius: 6px;
    font-weight: 700;
}

.cm-captcha > div:last-child {
    flex: 1;
    min-width: 200px;
}

.cm-captcha input[type="text"] {
    max-width: 150px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 3px;
}

/* Mesaje Alert - Mari și Vizibile */
.contact-alert {
    padding: 20px 30px;
    margin: 0 0 30px 0;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-alert-success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: 2px solid #27ae60;
}

.contact-alert-error {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: 2px solid #c0392b;
}

.contact-alert-icon {
    font-size: 1.8em;
    line-height: 1;
}

.contact-alert-text {
    font-size: 1.1em;
    line-height: 1.4;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .contact-page-wrapper {
        padding: 20px 15px;
    }

    .contact-title {
        font-size: 1.5em;
    }

    .contact-description {
        font-size: 0.9em;
    }

    .cm-form {
        padding: 20px;
    }

    .cm-field label {
        font-size: 0.85em;
    }

    .cm-field input[type="text"],
    .cm-field textarea {
        padding: 10px;
    }

    .cm-btn {
        font-size: 0.95em;
        padding: 10px 20px;
    }

    .cm-captcha {
        flex-direction: column;
        align-items: stretch;
    }

    .cm-captcha .code {
        text-align: center;
    }

    .cm-captcha input[type="text"] {
        max-width: 100%;
    }

    .contact-alert {
        padding: 18px 25px;
        font-size: 1em;
        gap: 12px;
    }
    
    .contact-alert-icon {
        font-size: 1.5em;
    }
    
    .contact-alert-text {
        font-size: 1em;
    }
}

@media screen and (max-width: 480px) {
    .contact-page-wrapper {
        padding: 15px 10px;
    }

    .contact-title {
        font-size: 1.3em;
        letter-spacing: 0.5px;
    }

    .contact-description {
        font-size: 0.85em;
    }

    .cm-form {
        padding: 15px;
    }

    .cm-field textarea {
        min-height: 120px;
    }

    .cm-captcha .code {
        font-size: 1.1em;
        padding: 10px 15px;
    }

    .contact-alert {
        padding: 15px 20px;
        font-size: 0.95em;
        gap: 10px;
        flex-direction: column;
    }
    
    .contact-alert-icon {
        font-size: 2em;
    }
    
    .contact-alert-text {
        font-size: 0.95em;
    }
}
