/* Custom styles for the My Hamyar plugin */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5; /* This might be overridden by theme styles */
    /* Removed display:flex, justify-content, align-items, min-height for front-end compatibility */
    padding: 20px;
}
.myhamyar-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto; /* Center the container on the page */
    direction: rtl; /* Ensure RTL for Persian text */
    text-align: right; /* Align text to the right */
}
.file-input-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
}
.file-input-label:hover {
    border-color: #93c5fd; /* blue-300 */
    background-color: #eff6ff; /* blue-50 */
}
.file-input-label svg {
    margin-bottom: 10px;
}
.options-group {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    margin-top: 20px;
}
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}
.radio-label input[type="radio"] {
    margin-left: 8px; /* Adjust margin for RTL */
    margin-right: 0;
}
/* Custom alert styles */
#custom-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: white;
    text-align: center;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 1;
}
#custom-alert.opacity-0 {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
}
.bg-red-500 { background-color: #ef4444; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-green-500 { background-color: #22c55e; }

/* Existing styles for the download link */
/* This section is updated to ensure the font color is white */
#downloadLink {
    color: white !important;
}
