/* Lead Gen & Sidebar Widget Styles */

.sidebar-actions-widget {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border-color, #E5E7EB);
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

/* --- 1. Profit Alert Section --- */
.rocket-profit-alert {
    background-color: #F0FDF4;
    /* Light Green Bg */
    border: 1px solid #BBF7D0;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.profit-header {
    color: var(--success-color, #10B981);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px dashed #BBF7D0;
    padding-bottom: 0.5rem;
}

.profit-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profit-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--text-color, #1F2937);
}

.profit-item:last-child {
    margin-bottom: 0;
}

.profit-item .date {
    color: #6B7280;
    font-family: monospace;
    font-weight: 600;
}

.profit-item .amount.win {
    color: var(--success-color, #10B981);
    font-weight: 700;
}

.profit-item.highlight {
    background: rgba(16, 185, 129, 0.1);
    margin: 0 -0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
}

/* --- Global Form Container Styles --- */
.lead-gen-form-container {
    margin-bottom: 2rem;
}

.lead-gen-form-container:last-child {
    margin-bottom: 0;
}

.lead-gen-form-container h3 {
    font-size: 1.1rem;
    color: var(--primary-color, #0056D2);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Form Elements (Shared) --- */
.sidebar-actions-widget .form-group {
    margin-bottom: 1rem;
}

.sidebar-actions-widget label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4B5563;
}

.sidebar-actions-widget input.text {
    width: 100%;
    padding: 10px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    /* Theme standard */
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sidebar-actions-widget input.text:focus {
    border-color: var(--primary-color, #0056D2);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1);
}

.sidebar-actions-widget .form-text {
    display: block;
    font-size: 0.75rem;
    color: #9CA3AF;
    /* Muted red per spec or simple muted? Spec said #990000 but modern is often muted red */
    color: #B91C1C;
    /* Dark red for important notes */
    margin-top: 0.25rem;
}

/* --- Submit Buttons --- */
.sidebar-actions-widget input.submit {
    width: 100%;
    padding: 12px;
    background-color: #ac3500 !important;
    /* Rocketman Brand Orange/Red */
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 800;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
}

.sidebar-actions-widget input.submit:hover {
    background-color: #8a2a00 !important;
    /* Darker shade */
    transform: translateY(-1px);
}

/* --- Textly Specifics --- */
/* Flexbox layout integrated via common .form-group structure above */

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .sidebar-actions-widget {
        padding: 1rem;
    }

    /* Ensure forms stack and take full width */
    .lead-gen-form-container {
        width: 100%;
    }

    .sidebar-actions-widget input.text,
    .sidebar-actions-widget input.submit {
        width: 100%;
    }
}