/* rightbar.css — SmartMowBot sidebar widget styles
 *
 * Rebranded 2026-08-28 from the plugin seed's default cyan to the site palette:
 *   #16A34A turf · #15803D deep green · #1F2937 ground · #111827
 *   #FACC15 CTA yellow (filled button only) · #EAB308 hover
 *   #E2E5DE line · #F5F7F4 wash · #6B7280 muted
 * Fonts: Archivo (titles) + Inter (body), matching index.html.
 */

.sidebar-card {
    background-color: #ffffff;
    border: 1px solid #E2E5DE;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.05);
}

.sidebar-title {
    font-family: 'Archivo', 'Inter', system-ui, sans-serif;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1F2937;
    border-bottom: 3px solid #16A34A;
    padding-bottom: 10px;
}

/* Popular Posts & Latest Posts */
.post-list-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E5DE;
}

.post-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.post-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #F5F7F4;
}

.post-info {
    flex: 1;
    min-width: 0;
}

.post-title-small {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1F2937;
    line-height: 1.35;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.post-title-small:hover {
    color: #15803D;
}

.post-date {
    font-size: 12px;
    color: #6B7280;
    font-variant-numeric: tabular-nums;
}

/* Contact Form Sidebar — dark ground band with the turf glow, same treatment as
   .sidebar-cta and the hero on index.html */
.contact-form-sidebar {
    background:
      radial-gradient(120% 80% at 0% 0%, rgba(22, 163, 74, 0.32), transparent 60%),
      linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 10px;
    padding: 32px;
    color: #ffffff;
}

.contact-form-sidebar h3 {
    font-family: 'Archivo', 'Inter', system-ui, sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #F9FAFB;
    line-height: 1.2;
}

.contact-form-sidebar p {
    font-size: 14px;
    margin-bottom: 25px;
    color: #E5E7EB;
    line-height: 1.55;
}

.contact-form-sidebar .form-label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #ffffff;
}

.contact-form-sidebar .form-control {
    background-color: rgba(255, 255, 255, 0.96);
    border: none;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    color: #1F2937;
}

.contact-form-sidebar .form-control:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.45);
    outline: none;
}

.submit-btn-sidebar {
    background-color: #FACC15;
    color: #1F2937;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-family: 'Archivo', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.submit-btn-sidebar:hover {
    background-color: #EAB308;
    color: #1F2937;
    transform: translateY(-2px);
}

.trust-badges {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #E5E7EB;
}

.trust-badges div {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar-card {
        margin-bottom: 20px;
    }
}
