/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.matching-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.student-card, .teacher-card {
    background: #f5f5f5;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.teacher-selector {
    margin-left: 1rem;
}

.errors { color: red; }
.success { color: green; }

/* Dashboard Styles */
.teacher-dashboard, .student-dashboard {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.student-list {
    list-style: none;
    padding: 0;
}

.student-list li {
    padding: 10px;
    background: #f8f8f8;
    margin-bottom: 5px;
}

.announcement {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.download-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

.comments-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.error { color: #dc3232; }
.success { color: #46b450; }




/* Registration Form Styles */
.registration-form {
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 2rem auto;
}

.registration-form .fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.registration-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.registration-form input:not([type="checkbox"]),
.registration-form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.course-item {
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #f9f9f9;
}

button[type="submit"] {
    background: #006ae3;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background: #0056b3;
}

.errors {
    color: #dc3545;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    background: #f8d7da;
}

.success {
    color: #155724;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    background: #d4edda;
}