/* WhatsApp Button Styles */
.whatsapp-consultation {
    text-align: center;
    margin: 30px auto;
    padding: 20px;
    max-width: 900px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #25D366;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    border: 2px solid #25D366;
}

.whatsapp-btn:hover {
    background: white;
    color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:active {
    transform: translateY(-1px);
}

.whatsapp-icon {
    font-size: 24px;
}

.consultation-text {
    margin-top: 15px;
    color: #666;
    font-size: 15px;
    line-height: 1.5;
}

/* Existing calculator styles */
.dasha-calculator {
    background: #fffaf3;
    border: 1px solid #f2d9b7;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    font-family: Arial, sans-serif;
}

.dasha-calculator p {
    text-align: center;
    color: #555;
    font-size: 14px;
    margin-bottom: 20px;
}

.dasha-calculator .input-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.dasha-calculator input {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    width: 180px;
}

.dasha-calculator button {
    background: #e5782a;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.dasha-calculator button:hover {
    background: #cf661d;
}

.dasha-calculator .clear-btn {
    background: #777;
}

.dasha-calculator .clear-btn:hover {
    background: #555;
}

.dasha-calculator .results {
    margin-top: 20px;
    font-size: 14px;
}

.dasha-calculator .current-dasha {
    background: #fff7ef;
    border-left: 4px solid #e5782a;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.dasha-calculator .dasha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.dasha-calculator .dasha-card {
    background: white;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    border-top: 3px solid #e5782a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}

.dasha-calculator .dasha-number {
    font-size: 20px;
    font-weight: bold;
    color: #e5782a;
    margin-bottom: 4px;
}

.dasha-calculator .table-container {
    margin-bottom: 25px;
    overflow-x: auto;
}

.dasha-calculator h3 {
    color: #e5782a;
    font-size: 15px;
    text-align: center;
    margin-bottom: 10px;
}

.dasha-calculator table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: white;
}

.dasha-calculator th,
.dasha-calculator td {
    padding: 6px 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.dasha-calculator th {
    background: #e5782a;
    color: white;
    font-weight: 500;
}

.dasha-calculator tr:nth-child(even) {
    background: #f9f9f9;
}

.dasha-calculator .highlight-row {
    background: #fde68a !important;
    font-weight: 600;
}

.dasha-calculator .future-period {
    color: #999;
    font-style: italic;
}

.dasha-calculator .error-message {
    background: #ffe6e6;
    border: 1px solid #ffcccc;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
    color: #d63031;
    font-weight: bold;
}

.dasha-calculator .future-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px;
    margin: 15px 0;
    color: #856404;
    text-align: center;
}

.dasha-calculator .basic-info {
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.dasha-calculator .basic-info span {
    display: inline-block;
    margin: 0 15px;
    font-size: 13px;
    color: #666;
}

.dasha-calculator .basic-info strong {
    color: #e5782a;
    font-size: 14px;
}

@media (max-width: 768px) {
    .dasha-calculator .input-section {
        flex-direction: column;
        align-items: center;
    }

    .dasha-calculator input {
        width: 100%;
        max-width: 300px;
    }

    .dasha-calculator .dasha-grid {
        grid-template-columns: 1fr;
    }

    .dasha-calculator table {
        font-size: 12px;
    }
    
    /* WhatsApp button responsive styles */
    .whatsapp-btn {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .whatsapp-consultation {
        padding: 15px;
        margin: 20px auto;
    }
}