/**
 * Public styles for Simple Membership Plugin
 */

/* Checkout Button */
.smp-checkout-button {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.smp-checkout-button:hover {
    background-color: #005177;
    color: #fff;
    text-decoration: none;
}

/* Restricted Content Message */
.smp-restricted-content {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.smp-restricted-content h3 {
    margin-top: 0;
    color: #333;
}

.smp-restricted-content .button {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin: 5px;
    transition: background-color 0.3s ease;
}

.smp-restricted-content .button:hover {
    background-color: #005177;
    color: #fff;
    text-decoration: none;
}

/* Member Dashboard */
.smp-dashboard {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}

.smp-dashboard-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.smp-dashboard-header h2 {
    margin-top: 0;
}

.smp-dashboard-section {
    margin-bottom: 20px;
}

.smp-dashboard-section h3 {
    margin-top: 0;
    font-size: 18px;
}

.smp-membership-details {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.smp-membership-detail {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    margin: 0 10px 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.smp-membership-detail h4 {
    margin-top: 0;
    font-size: 14px;
    color: #666;
}

.smp-membership-detail p {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .smp-membership-detail {
        flex: 100%;
        margin-right: 0;
        margin-left: 0;
    }
}