/* Contact Form Component Styles */

.form-feedback {
    margin: 20px 0;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert strong {
    font-weight: bold;
}

/* Loading state for submit button */
.submitbutton-home:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form container enhancements */
.contact-form {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.form-area-home {
    width: 100%;
    background-color: rgba(51, 51, 51, 0.8);
    padding: 20px;
    color: #fff;
}

.input-container-home {
    margin-bottom: 15px;
    color: #fff;
    font-size: 14px;
    position: relative;
}

.input-container2-home {
    margin-bottom: 15px;
    color: #fff;
    font-size: 14px;
    position: relative;
}

.input-home {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background-color: #f9f9f9;
}

.input2-home {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    background-color: #f9f9f9;
}

.input-captcha-left {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.captcha-text {
    width: 100%;
    text-align: right;
}

.submitbutton-home {
    background: linear-gradient(to bottom, #f2f2f2 0%, #d9d9d9 100%);
    color: #333;
    border: 1px solid #ccc;
    padding: 10px 30px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    transition: background 0.3s ease;
    float: right;
}

.submitbutton-home:hover {
    background: linear-gradient(to bottom, #d9d9d9 0%, #f2f2f2 100%);
}

.required {
    color: #cc0000;
    font-weight: bold;
}

.required-text {
    color: #cc0000;
    font-size: 12px;
}

/* Enhanced placeholders */
.input-home::placeholder,
.input2-home::placeholder {
    color: #999;
    font-style: italic;
}

/* Form validation styles */
.input-home:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.input-home:valid:not(:focus):not(:placeholder-shown) {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Form Header */
.form-header {
    background: linear-gradient(to bottom, #f2f2f2 0%, #d9d9d9 100%);
    color: #333;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 1px solid #ccc;
    margin-bottom: 0;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .input-container-home,
    .input-container2-home {
        margin-bottom: 10px;
    }
    
    .input-home,
    .input2-home {
        padding: 8px;
        font-size: 14px;
    }
    
    .submitbutton-home {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .form-header {
        font-size: 18px;
        padding: 10px;
    }
} 