/* InfoDepots Contact Form - Compact Styles with reCAPTCHA */
.infodepots-contact-form-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 25px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.infodepots-compact-form {
    padding: 20px;
}

.infodepots-contact-title {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.infodepots-message {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    display: none;
}

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

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

.infodepots-form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px 15px -8px;
}

.infodepots-form-group {
    margin-bottom: 15px;
    width: 100%;
    position: relative;
}

.infodepots-form-half {
    width: 50%;
    padding: 0 8px;
    box-sizing: border-box;
}

.infodepots-form-group input,
.infodepots-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
    background: #f9f9f9;
    transition: all 0.2s ease;
}

.infodepots-form-group input.error,
.infodepots-form-group textarea.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.infodepots-form-group input:focus,
.infodepots-form-group textarea:focus {
    border-color: #1A226D;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 34, 109, 0.1);
}

.infodepots-form-group textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 150px;
}

.infodepots-submit-btn {
    width: 25%;
    padding: 12px;
    background-color: #1A226D;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.infodepots-submit-btn:hover {
    background-color: #0e1545;
}

.infodepots-submit-btn:disabled {
    background-color: #999;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    margin-left: 8px;
    font-size: 13px;
}

.infodepots-field-error {
    display: none;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

/* reCAPTCHA Styles */
.recaptcha-wrapper {
    margin: 15px 0;
}

.recaptcha-error {
    display: none;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.recaptcha-notice {
    font-size: 11px;
    color: #666;
    margin-top: 10px;
    text-align: left;
    line-height: 1.4;
}

.recaptcha-notice a {
    color: #1A226D;
    text-decoration: none;
}

.recaptcha-notice a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .infodepots-contact-form-container {
        padding: 20px 15px;
    }
    
    .infodepots-compact-form {
        padding: 15px;
    }
    
    .infodepots-contact-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .infodepots-form-half {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .infodepots-form-row {
        margin: 0 0 10px 0;
    }
    
    .infodepots-form-group {
        margin-bottom: 12px;
    }
    
    .infodepots-form-group input,
    .infodepots-form-group textarea {
        padding: 9px 10px;
        font-size: 14px;
    }
    
    .infodepots-submit-btn {
        padding: 11px;
        font-size: 15px;
        width: 100%;
    }
    
    /* Responsive reCAPTCHA */
    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: left top;
    }
}

@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.8);
        transform-origin: left top;
    }
}