.page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: #00A651;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.2rem;
}

.title {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #212529;
}

.button-row {
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: #0d6efd;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: white;
    font-size: 0.875rem;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.table-container {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 120px;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    font-weight: 500;
    color: #212529;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 120px;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.col-allevamento {
    display: flex;
    align-items: center;
    position: relative;
}

.action-buttons-space {
    width: 80px;
    margin-right: 0.5rem;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    margin-right: 0.5rem;
    width: 80px;
}

.btn-icon {
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    color: white;
}

.btn-icon.edit {
    background-color: #28a745;
}

.btn-icon.edit:hover {
    background-color: #218838;
}

.btn-icon.delete {
    background-color: #dc3545;
}

.btn-icon.delete:hover {
    background-color: #c82333;
}

.col-giorni {
    text-align: right;
}

/* Modal styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-dialog {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
}

.modal-content {
    padding: 1rem;
}

.modal-header {
    margin-bottom: 1rem;
}

.modal-header h5 {
    margin: 0;
    font-size: 1.25rem;
}

.modal-body {
    margin-bottom: 1rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-link {
    background: none;
    color: #0275d8;
    text-decoration: underline;
    padding: 0;
}

.btn-link:hover {
    color: #0056b3;
} 