/* Frontend Styles for Webinar System */

/* Presenter Grid */
.presenters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.presenter-item img {
    max-width: 100%;
    height: auto;
    border-radius: 500px;
    transition: transform 0.3s ease;
    border: 1px solid black;
}

.presenter-item:hover img {
    transform: scale(1.05);
}

/* Registration Form */
.webinar-registration-button {
    display: inline-block;
    background: #2271b1;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.webinar-registration-button:hover {
    background: #135e96;
    color: white;
    text-decoration: none;
}

.webinar-ended {
    background: #f0f0f0;
    color: #666;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin: 20px 0;
}

.webinar-no-presenter {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin: 20px 0;
}

/* Registration Form Styles */
.webinar-registration-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.webinar-registration-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.webinar-registration-form input[type="text"],
.webinar-registration-form input[type="email"],
.webinar-registration-form input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.webinar-registration-form input[type="submit"] {
    background: #2271b1;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.webinar-registration-form input[type="submit"]:hover {
    background: #135e96;
}

.webinar-registration-form .error {
    color: #dc3545;
    background: #f8d7da;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.webinar-registration-form .success {
    color: #155724;
    background: #d4edda;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Attendance Confirmation Page */
.confirmation-box {
    max-width: 500px;
    margin: 50px auto;
    padding: 40px;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.confirmation-box .check-icon {
    width: 80px;
    height: 80px;
    fill: #28a745;
    margin-bottom: 20px;
}

.confirmation-box h2 {
    color: #28a745;
    margin-bottom: 15px;
    font-size: 24px;
}

.confirmation-box p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.confirmation-box .home-link {
    display: inline-block;
    background: #2271b1;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.confirmation-box .home-link:hover {
    background: #135e96;
    color: white;
    text-decoration: none;
}

/* Troubleshooting Info */
.webinar-troubleshooting {
    margin-top: 20px;
    padding: 15px;
    background: #f0f6fc;
    border: 1px solid #2271b1;
    border-radius: 4px;
}

.webinar-troubleshooting h4 {
    margin-top: 0;
    color: #2271b1;
}

.webinar-troubleshooting ul {
    margin-bottom: 0;
}

.webinar-troubleshooting li {
    margin-bottom: 5px;
}

/* Email Unsubscribe Links */
.email-unsubscribe {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.email-unsubscribe a {
    color: #666;
    text-decoration: none;
}

/* Registration Status Shortcode */
.webinar-registration-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    margin: 10px 0;
}

.webinar-registration-status.registration-open {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.webinar-registration-status.registration-closed {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.webinar-registration-status .status-icon {
    font-size: 16px;
    font-weight: bold;
}

.webinar-registration-status .status-text {
    font-size: 14px;
}

/* Registration Closed Message */
.webinar-registration-closed {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin: 20px 0;
    border: 1px solid #f5c6cb;
    font-weight: 600;
}

.email-unsubscribe a:hover {
    color: #333;
    text-decoration: underline;
} 