/* استایل‌های عمومی */
.cmcw-container {
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl;
    max-width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.cmcw-header {
    text-align: center;
    margin-bottom: 20px;
}

.cmcw-title {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.cmcw-box {
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cmcw-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cmcw-box:last-child {
    margin-bottom: 0;
}

.cmcw-label {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 16px;
    color: #555;
    margin-left: 10px;
}

.cmcw-value {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.cmcw-warning {
    color: #ff0000;
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* استایل دکمه جدید */
.cmcw-button-container {
    text-align: center;
    margin-top: 20px;
}

.cmcw-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.cmcw-button:hover {
    opacity: 0.9;
}

/* استایل‌های واکنشگرا برای موبایل */
@media (max-width: 600px) {
    .cmcw-box {
        flex-direction: column;
        text-align: center;
    }

    .cmcw-label {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .cmcw-button {
        width: 100%;
        box-sizing: border-box;
    }
}

/* استایل‌های پنل مدیریت */
.cmcw-admin-container {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: 'Vazirmatn', sans-serif !important;
}

.cmcw-admin-section {
    margin-bottom: 30px;
}

.cmcw-admin-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #23282d;
}

.cmcw-admin-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.cmcw-admin-section code {
    display: inline-block;
    background: #f7f7f7;
    padding: 5px 10px;
    border-radius: 3px;
    font-family: monospace;
    color: #d63384;
}

.cmcw-copyright {
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #0073aa;
    margin-top: 20px;
}

.cmcw-copyright p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.cmcw-copyright a {
    color: #0073aa;
    text-decoration: none;
}

.cmcw-copyright a:hover {
    text-decoration: underline;
}