.aam-restricted {
    position: relative;
    padding: 25px;
    margin: 20px 0;
    border: 2px solid #ff4444;
    border-radius: 6px;
    background: #fff8f8;
}

.aam-preview {
    opacity: 0.8;
    line-height: 1.6;
    font-size: 16px;
    color: #555;
    padding: 15px;
    border: 1px dashed #ff9999;
    background: #fff;
    position: relative;
}

.aam-preview:after {
    content: "پیش‌نمایش محدود شده";
    position: absolute;
    top: -20px;
    left: 10px;
    color: #ff4444;
    font-weight: bold;
    font-size: 14px;
}

body button.aam-unlock {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #28a745;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.3s;
    font-size: 1.3em;
    width: 100%;
}

.aam-unlock:hover {
    background: #218838;
}

.aam-close{

    font-size: 1.6em;
    color: red;

}
.aam-modal-content h3{

    text-align: right;
    width: 100%;
    margin-bottom:20px;

    padding-bottom: 10px;

}

.aam-modal-content .aam-options {
    display: grid;
    gap: 15px;
}

.aam-purchase-btn {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: left;
}

.aam-purchase-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.aam-referer-notice {
    padding: 15px;
    margin: 20px 0;
    background: #e3f2fd;
    border: 1px solid #2196F3;
    border-radius: 4px;
}


/* Select article on product for single article purchase
 */

/* Article selection styles */
.uaap-article-selection {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    background: #f8f8f8;
}

.uaap-article-selection label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

#uaap_article_preview {
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #eee;
    background: white;
    max-height: 200px;
    overflow-y: auto;
}

/* Cart display */
.wc-item-meta p strong {
    display: inline-block;
    min-width: 120px;
}

body .woocommerce-order div.aam-referer-notice{

    padding: 20px 40px;
    color: red;
    background-color: #d7eef4;

}