﻿.schoolbooth-portal {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.access-form {
    padding: 20px;
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 4px;
}

.form-group select:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

.photo-actions {
    margin-bottom: 20px;
}

.photo-actions button {
    margin-right: 10px;
    padding: 8px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.photo-actions .download-all {
    background: #2271b1;
    color: white;
}

.photo-actions .delete-all {
    background: #cc1818;
    color: white;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.photo-card {
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
}

.photo-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.photo-meta {
    text-align: left;
}

.photo-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    background: #2271b1;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 3px;
    flex: 1;
}

.print-btn {
    background: #374151;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    flex: 1;
}

.delete-btn {
    background: #cc1818;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    flex: 1;
}

.share-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-link {
    display: inline-block;
    background: #eef2ff;
    color: #1f2937;
    padding: 6px 10px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 12px;
    border: 1px solid #d1d5db;
}

button.share-link {
    cursor: pointer;
}

.no-photos {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
}

.highlight-photo {
    border: 3px solid #2271b1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 113, 177, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(34, 113, 177, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 113, 177, 0); }
}

