/**
 * Public CSS for SiddhaCRM.
 */

/* General Styles */
.siddha-crm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
}

.siddha-crm-container * {
    box-sizing: border-box;
}

.siddha-crm-container h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 600;
}

.siddha-crm-container h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 500;
}

.siddha-crm-container p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Events List */
.siddha-events-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.siddha-event-card {
    flex: 0 0 calc(33.333% - 30px);
    margin: 0 15px 30px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.siddha-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.siddha-event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.siddha-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.siddha-event-card:hover .siddha-event-image img {
    transform: scale(1.05);
}

.siddha-event-details {
    padding: 20px;
}

.siddha-event-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.siddha-event-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.siddha-event-meta span {
    display: block;
    margin-bottom: 5px;
}

.siddha-event-meta i {
    margin-right: 5px;
    width: 16px;
    text-align: center;
}

.siddha-event-description {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 15px;
}

.siddha-event-price {
    font-weight: 600;
    color: #0073aa;
    margin-bottom: 15px;
}

.siddha-event-action {
    text-align: center;
}

.siddha-event-button {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.siddha-event-button:hover {
    background-color: #005f8b;
    color: #fff;
}

/* Registration Form */
.siddha-registration-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.siddha-registration-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #0073aa;
}

.siddha-form-row {
    margin-bottom: 20px;
}

.siddha-form-group {
    margin-bottom: 20px;
}

.siddha-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.siddha-form-group input[type="text"],
.siddha-form-group input[type="email"],
.siddha-form-group input[type="tel"],
.siddha-form-group input[type="date"],
.siddha-form-group textarea,
.siddha-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.siddha-form-group textarea {
    height: 100px;
    resize: vertical;
}

.siddha-form-group select {
    height: 40px;
}

.siddha-form-group .required {
    color: #e53935;
}

.siddha-form-submit {
    text-align: center;
    margin-top: 30px;
}

.siddha-submit-button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.siddha-submit-button:hover {
    background-color: #005f8b;
}

/* Student Profile */
.siddha-student-profile {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.siddha-profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.siddha-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.siddha-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.siddha-profile-info h2 {
    margin-bottom: 5px;
}

.siddha-profile-info p {
    color: #666;
    margin-bottom: 5px;
}

.siddha-profile-section {
    margin-bottom: 30px;
}

.siddha-profile-section h3 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.siddha-profile-field {
    margin-bottom: 10px;
}

.siddha-profile-label {
    font-weight: 600;
    margin-right: 10px;
    min-width: 150px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 992px) {
    .siddha-event-card {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .siddha-event-card {
        flex: 0 0 calc(100% - 30px);
    }
    
    .siddha-profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .siddha-profile-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .siddha-form-row {
        flex-direction: column;
    }
    
    .siddha-form-group {
        width: 100%;
        padding: 0;
    }
} 