/* Tuition Port Plugin Styles */

.tuition-port-registration {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.tp-form {
    width: 100%;
}

.tp-form-row {
    margin-bottom: 1.5rem;
}

.tp-form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.tp-form-row input,
.tp-form-row select,
.tp-form-row textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.tp-form-row select[multiple] {
    height: 100px;
}

.tp-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.tp-btn-primary {
    background: #007cba;
    color: white;
}

.tp-btn-primary:hover {
    background: #005a87;
}

.success {
    color: #0071a1;
    background: #e5f7ff;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #0071a1;
}

.error {
    color: #d63384;
    background: #f8d7da;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #d63384;
}

/* Dashboard Styles */
.tp-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.tp-dashboard-header {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.tp-dashboard-header h1 {
    margin: 0 0 0.5rem;
    color: #333;
}

.tp-dashboard-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    border-bottom: 2px solid #eee;
}

.tp-dashboard-nav li {
    margin-right: 1rem;
}

.nav-tab {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.nav-tab:hover,
.nav-tab.active {
    color: #007cba;
    border-bottom-color: #007cba;
}

.tp-dashboard-content {
    padding: 2rem 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tp-notice {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    border-left: 4px solid;
}

.tp-notice.pending {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.child-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.child-info input {
    flex: 1;
}

/* Admin Dashboard Styles */
.tp-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    margin: 0 0 1rem;
    color: #666;
    font-size: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #007cba;
}

.tp-admin-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.recent-activity,
.pending-approvals {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tp-dashboard {
        padding: 1rem;
    }
    
    .tp-dashboard-nav ul {
        flex-direction: column;
    }
    
    .tp-dashboard-nav li {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .child-info {
        flex-direction: column;
    }
    
    .tp-admin-sections {
        grid-template-columns: 1fr;
    }
}