/* Custom styles for Haravy theme */

.haravy-topup-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #c20c11;
    background: linear-gradient(135deg, #c20c11 30%, #a30836 100%);
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color .3s ease;
}

.haravy-topup-button:hover {
    background-color: #a30836; /* Darker shade on hover */
    background: linear-gradient(135deg, #a30836 30%, #c20c11 100%);
}

/* Style for the submit button in the top-up request form */
.haravy-topup-form-wrapper input[type="submit"] {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #c20c11;
    background: linear-gradient(135deg, #c20c11 30%, #a30836 100%);
    color: #fff !important;
    border: none; /* Remove default button border */
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .3s ease;
}

.haravy-topup-form-wrapper input[type="submit"]:hover {
    background-color: #a30836; /* Darker shade on hover */
    background: linear-gradient(135deg, #a30836 30%, #c20c11 100%);
}

/* Styles for messages */
.haravy-paywall-message {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-bottom: 20px;
    color: #856404;
    border-radius: 4px;
}

.haravy-paywall-message a {
    color: #856404;
    font-weight: bold;
    text-decoration: underline;
}

.haravy-payment-success {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    padding: 15px;
    margin-bottom: 20px;
    color: #155724;
    border-radius: 4px;
}

.haravy-success-message {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    padding: 10px;
    margin-bottom: 15px;
    color: #155724;
    border-radius: 4px;
}

.haravy-error-message {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 10px;
    margin-bottom: 15px;
    color: #721c24;
    border-radius: 4px;
}

/* Archive page specific styles for Legal Documents */
.haravy-legal-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.haravy-legal-doc-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.haravy-legal-doc-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.haravy-doc-icon {
    font-size: 36px;
    color: #c20c11;
    margin-right: 15px;
    flex-shrink: 0;
}

.haravy-doc-content {
    flex-grow: 1;
}

.haravy-legal-doc-item .entry-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.haravy-legal-doc-item .entry-title a {
    color: #333;
    text-decoration: none;
}

.haravy-legal-doc-item .entry-title a:hover {
    color: #c20c11;
}

.haravy-legal-doc-item .entry-summary {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.haravy-doc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    color: #888;
}

.haravy-doc-meta .view-cost {
    font-weight: bold;
    color: #c20c11;
}

.haravy-doc-meta .view-cost i {
    margin-right: 5px;
}

.haravy-load-more-wrapper {
    text-align: center;
    margin-top: 30px;
}
