/* Swimming School Manager - Frontend Client Panel Styles */

.ssm-client-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ssm-client-header {
    text-align: center;
    margin-bottom: 40px;
}

.ssm-client-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #1d2327;
}

.ssm-client-header p {
    font-size: 18px;
    color: #646970;
}

.ssm-classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.ssm-class-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ssm-class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.ssm-class-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f1;
}

.ssm-class-header h3 {
    margin: 0;
    font-size: 22px;
    color: #2271b1;
}

.ssm-badge {
    display: inline-block;
    padding: 5px 12px;
    background: #2271b1;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.ssm-class-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ssm-detail-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ssm-icon {
    font-size: 24px;
    min-width: 30px;
    text-align: center;
}

.ssm-detail-item strong {
    display: block;
    color: #1d2327;
    margin-bottom: 3px;
    font-size: 14px;
}

.ssm-detail-item p {
    margin: 0;
    color: #646970;
    font-size: 15px;
    line-height: 1.5;
}

.ssm-address {
    font-size: 13px !important;
    color: #787c82 !important;
}

.ssm-description {
    flex-direction: column;
    padding-top: 10px;
    border-top: 1px solid #f0f0f1;
}

.ssm-class-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f1;
    text-align: center;
}

.ssm-enrollment-date {
    font-size: 13px;
    color: #787c82;
}

/* Client info section */
.ssm-client-info {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-top: 40px;
}

.ssm-client-info h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #1d2327;
}

.ssm-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.ssm-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ssm-info-item strong {
    color: #1d2327;
    font-size: 14px;
}

.ssm-info-item span {
    color: #646970;
    font-size: 15px;
}

.ssm-contact-note {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    color: #787c82;
    font-size: 14px;
    font-style: italic;
}

/* Notices */
.ssm-notice {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.ssm-notice p {
    margin: 8px 0;
}

.ssm-notice-info {
    background: #e5f5fa;
    border-left: 4px solid #2271b1;
    color: #1d2327;
}

.ssm-notice-warning {
    background: #fcf3cd;
    border-left: 4px solid #dba617;
    color: #1d2327;
}

.ssm-notice a {
    color: #2271b1;
    text-decoration: underline;
}

.ssm-notice a:hover {
    color: #135e96;
}

/* Responsive */
@media (max-width: 768px) {
    .ssm-client-panel {
        padding: 15px;
    }
    
    .ssm-client-header h2 {
        font-size: 24px;
    }
    
    .ssm-client-header p {
        font-size: 16px;
    }
    
    .ssm-classes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ssm-class-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .ssm-info-grid {
        grid-template-columns: 1fr;
    }
}
