/* General Styles */
.nsm-subscription-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nsm-plan-details {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #4CAF50;
}

.nsm-plan-details p {
    margin: 8px 0;
}

.nsm-form-group {
    margin-bottom: 20px;
}

.nsm-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.nsm-form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.nsm-form-group input:focus {
    border-color: #4CAF50;
    outline: none;
}

.nsm-form-group input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.nsm-subscribe-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nsm-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.nsm-subscribe-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.nsm-error {
    color: #f44336;
    padding: 12px;
    background: #ffebee;
    border-radius: 5px;
    margin-top: 15px;
    border-left: 4px solid #f44336;
}

.nsm-error a {
    color: #f44336;
    font-weight: 600;
}

.nsm-success {
    color: #4CAF50;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 5px;
    margin-top: 15px;
    border-left: 4px solid #4CAF50;
}

.nsm-subscription-status {
    padding: 15px;
    background: #e8f5e9;
    color: #4CAF50;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

/* Restricted Content Page */
.nsm-restricted-content {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nsm-restricted-content h1 {
    color: #f44336;
    font-size: 32px;
    margin-bottom: 20px;
}

.nsm-restricted-message {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.nsm-subscription-offer {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.nsm-price {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
}

.nsm-button-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nsm-button-primary:hover {
    background: #45a049;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.nsm-button {
    display: inline-block;
    padding: 12px 30px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nsm-button:hover {
    background: #e0e0e0;
    color: #333;
}

.nsm-plans-required {
    margin: 20px 0;
    padding: 15px;
    background: #fff3e0;
    border-radius: 8px;
    border-left: 4px solid #FF9800;
}

.nsm-plans-list {
    margin-top: 10px;
}

.nsm-plan-required-item {
    padding: 8px 12px;
    margin: 5px 0;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}
/* Plans Grid */
.nsm-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.nsm-plan-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nsm-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.nsm-plan-card h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 24px;
}

.nsm-plan-price {
    font-size: 32px;
    font-weight: bold;
    color: #4CAF50;
    margin: 10px 0;
}

.nsm-plan-duration {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.nsm-plan-description {
    margin: 15px 0;
    color: #555;
    line-height: 1.5;
}

.nsm-plan-features {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
    margin: 15px 0;
    font-size: 14px;
    color: #666;
}

/* Form Styles */
.nsm-subscription-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nsm-plan-details {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #4CAF50;
}

.nsm-plan-details p {
    margin: 8px 0;
}

.nsm-form-group {
    margin-bottom: 20px;
}

.nsm-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.nsm-form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.nsm-form-group input:focus {
    border-color: #4CAF50;
    outline: none;
}

.nsm-form-group input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.nsm-subscribe-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nsm-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.nsm-subscribe-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.nsm-error {
    color: #f44336;
    padding: 12px;
    background: #ffebee;
    border-radius: 5px;
    margin-top: 15px;
    border-left: 4px solid #f44336;
}

.nsm-error a {
    color: #f44336;
    font-weight: 600;
}

.nsm-success {
    color: #4CAF50;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 5px;
    margin-top: 15px;
    border-left: 4px solid #4CAF50;
}

.nsm-subscription-status {
    padding: 15px;
    background: #e8f5e9;
    color: #4CAF50;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .nsm-plans-grid {
        grid-template-columns: 1fr;
    }
}