.lista-nascita-password-form {
max-width: 500px;
margin: 2em auto;
padding: 2em;
background: #f9f9f9;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.lista-nascita-password-form h2 {
margin-top: 0;
color: #333;
text-align: center;
}
.lista-nascita-password-form p {
text-align: center;
margin-bottom: 1.5em;
color: #666;
}
.lista-nascita-password-form form {
display: flex;
flex-direction: column;
gap: 1em;
}
.lista-nascita-password-form input[type="password"] {
padding: 0.8em;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1em;
}
.lista-nascita-password-form button {
padding: 0.8em;
background: #0073aa;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1em;
transition: background 0.3s ease;
}
.lista-nascita-password-form button:hover {
background: #005177;
}
.lista-nascita-error {
position: fixed;
bottom: 20px;
right: 20px;
background: #dc3232;
color: white;
padding: 1em 2em;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
z-index: 9999;
}
.lista-nascita-closed {
max-width: 600px;
margin: 2em auto;
padding: 2em;
background: #f9f9f9;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
text-align: center;
color: #666;
} .lista-nascita-drive-container {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%; margin: 2em 0;
}
.lista-nascita-drive-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
} .liste-nascita-archive {
max-width: 1200px;
margin: 0 auto;
padding: 2em;
}
.liste-nascita-title {
text-align: center;
margin-bottom: 1.5em;
color: #333;
font-size: 2.5em;
font-weight: 600;
}
.liste-nascita-intro {
margin-bottom: 3em;
}
.liste-nascita-search {
margin-bottom: 3em;
text-align: center;
}
.search-form-container {
position: relative;
max-width: 600px;
margin: 0 auto;
}
.search-input {
width: 100%;
padding: 1em;
font-size: 1.1em;
border: 2px solid #ddd;
border-radius: 8px;
transition: border-color 0.3s ease;
}
.search-input:focus {
outline: none;
border-color: #0073aa;
}
.search-results {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: white;
border: 1px solid #ddd;
border-radius: 0 0 8px 8px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
display: none;
z-index: 1000;
}
.search-results.active {
display: block;
}
.search-result-item {
padding: 1em;
border-bottom: 1px solid #eee;
cursor: pointer;
transition: background 0.3s ease;
}
.search-result-item:last-child {
border-bottom: none;
}
.search-result-item:hover {
background: #f5f5f5;
}
.liste-nascita-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2em;
}
.lista-nascita-card {
background: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 1.5em;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lista-nascita-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.lista-nascita-card h2 {
margin: 0 0 1em 0;
font-size: 1.4em;
}
.lista-nascita-card h2 a {
color: #333;
text-decoration: none;
}
.lista-nascita-card h2 a:hover {
color: #0073aa;
}
.lista-nascita-status {
display: inline-block;
padding: 0.5em 1em;
border-radius: 4px;
font-size: 0.9em;
font-weight: 500;
}
.lista-nascita-card.open .lista-nascita-status {
background: #e7f5ea;
color: #2e7d32;
}
.lista-nascita-card.closed .lista-nascita-status {
background: #fdecea;
color: #c62828;
}
.no-results {
grid-column: 1 / -1;
text-align: center;
color: #666;
padding: 2em;
} .lista-nascita-contribution-form {
max-width: 500px;
margin: 2em auto;
padding: 2em;
background: #f9f9f9;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.lista-nascita-contribution-form h3 {
margin-top: 0;
color: #333;
text-align: center;
}
.lista-nascita-contribution-form form {
display: flex;
flex-direction: column;
gap: 1em;
}
.lista-nascita-contribution-form .form-row {
display: flex;
flex-direction: column;
gap: 0.5em;
}
.lista-nascita-contribution-form label {
font-weight: 500;
color: #333;
}
.lista-nascita-contribution-form input[type="number"] {
padding: 0.8em;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1em;
}
.lista-nascita-contribution-form button {
padding: 0.8em;
background: #0073aa;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1em;
transition: background 0.3s ease;
}
.lista-nascita-contribution-form button:hover {
background: #005177;
} .lista-nascita-contributions {
margin: 2em 0;
overflow-x: auto;
}
.lista-nascita-contributions h3 {
margin-bottom: 1em;
color: #333;
}
.lista-nascita-contributions table {
width: 100%;
border-collapse: collapse;
background: white;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.lista-nascita-contributions th,
.lista-nascita-contributions td {
padding: 1em;
text-align: left;
border-bottom: 1px solid #eee;
}
.lista-nascita-contributions th {
background: #f5f5f5;
font-weight: 500;
color: #333;
}
.lista-nascita-contributions tfoot th {
background: #f9f9f9;
font-weight: 600;
}
.lista-nascita-contributions tfoot td {
font-weight: 600;
color: #0073aa;
}