/* Contact Form Styles */
.abd-contact-section {
    margin: 20px 0;
}

.abd-contact-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.abd-contact-title .dashicons {
    color: #667eea;
    font-size: 20px;
}

.abd-contact-subtitle {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Sidebar specific styles */
.abd-contact-sidebar {
    padding: 0; /* Remove padding since sidebar card has its own */
}

.abd-contact-sidebar .abd-contact-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.abd-contact-sidebar .abd-form-group {
    margin-bottom: 15px;
}

.abd-contact-sidebar .abd-form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

.abd-contact-sidebar .abd-form-group input,
.abd-contact-sidebar .abd-form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.abd-contact-sidebar .abd-form-group input:focus,
.abd-contact-sidebar .abd-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.abd-contact-sidebar .abd-form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.abd-contact-sidebar .abd-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.9rem;
}

.abd-contact-sidebar .abd-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.abd-contact-sidebar .abd-button .dashicons {
    font-size: 16px;
}

/* Contact card specific styles */
.abd-contact-card {
    background: #f8f9ff;
    border-left: 4px solid #667eea;
}

/* Message feedback styles */
.abd-contact-message {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.abd-contact-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.abd-contact-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.abd-contact-message.sending {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

/* Full width contact form (for pages) */
.abd-contact-full {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.abd-contact-full .abd-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.abd-contact-full .abd-form-row .abd-form-group {
    flex: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .abd-contact-full .abd-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .abd-contact-sidebar .abd-button {
        padding: 12px 16px;
        font-size: 1rem;
    }
}