/**
 * Public styles for Skill Farm Membership
 */

/* Member Portal */
.sfm-member-portal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.sfm-portal-navigation {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.sfm-portal-link {
    padding: 10px 20px;
    background: #f7f7f7;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.sfm-portal-link:hover {
    background: #e0e0e0;
}

.sfm-portal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 20px;
}

/* Pricing Table */
.sfm-pricing-table {
    padding: 40px 0;
}

.sfm-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.sfm-plan-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sfm-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.sfm-plan-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.sfm-plan-features {
    margin: 20px 0;
}

.sfm-plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sfm-plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sfm-plan-features li:before {
    content: "✓ ";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 5px;
}

.sfm-select-plan {
    display: inline-block;
    padding: 12px 30px;
    background: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    margin-top: 20px;
}

.sfm-select-plan:hover {
    background: #005a87;
    color: #fff;
}

/* Checkout Form */
.sfm-checkout {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sfm-checkout h2 {
    margin-bottom: 30px;
    color: #333;
}

#sfm-checkout-form {
    margin-top: 20px;
}

/* Thank You Page */
.sfm-thank-you {
    text-align: center;
    padding: 60px 20px;
}

.sfm-thank-you h2 {
    color: #4CAF50;
    font-size: 36px;
    margin-bottom: 20px;
}

.sfm-thank-you p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Restricted Content */
.sfm-restricted-content {
    background: #f9f9f9;
    border: 2px dashed #ddd;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    margin: 30px 0;
}

.sfm-restricted-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Forms */
.sfm-register-form {
    max-width: 400px;
    margin: 0 auto;
}

.sfm-register-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.sfm-register-form input[type="text"],
.sfm-register-form input[type="email"],
.sfm-register-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

.sfm-register-form input[type="submit"] {
    background: #007cba;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.sfm-register-form input[type="submit"]:hover {
    background: #005a87;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sfm-portal-navigation {
        flex-direction: column;
    }
    
    .sfm-plans-grid {
        grid-template-columns: 1fr;
    }
    
    .sfm-stats-grid {
        grid-template-columns: 1fr;
    }
}