body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

header {
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 0px;
    border-bottom: 1px solid #ddd;
    background: url(vrany200.webp), #eadeae;
    background-repeat: no-repeat;
    background-size: 120px 120px;
    /*background-attachment: fixed;*/
    background-position: 10px 5px; 
}

h1, h2, h3 {
    color: #2c3e50;
}

.menu-bar {
    text-align: center;
    background-color:#eadeae;
    padding: 5px
}

.menu-item {
    padding: 5px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    color: black;
}

.menu-item:hover {
    background:#ffd2aa;
}

.menu-item.selected {
    background: #ffd187;
}

.program-table {
    border: 0px;
}

.program-table td {
    padding-left: 10px;
    padding-right: 10px;
}

/* Form styling */
.login-container, .register-container, .reset-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

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

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

input, select, textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 1rem;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.button {
    padding: 10px 15px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.button:hover {
    background: #2980b9;
}

/* Choreography list styling */
.choreography-list {
    margin-top: 30px;
}

.choreography-table {
    width: 100%;
    max-width: 100%;
    display: table;
    table-layout: fixed;
    padding: 5px;
    border: 0px;
}

.choreography-item {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    border-left: 4px solid #3498db;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.choreography-item:hover {
    background: #e9e9e9;
}

.choreography-item.clickable:hover {
    background: #e9e9e9;
}

.choreography-item th {
    background: #e9e9e9;
}

.choreo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.choreo-header h3 {
    margin: 0;
}

.votes {
    display: flex;
    gap: 15px;
}

.vote-count {
    background: #e3f2fd;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9em;
}

.vote-count.active {
/*     background: #277dff; */
    border: 2px solid #1f6aa5;
}

.vote-cell.active {
    background: lightyellow;
}

.phase-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    margin-right: 10px;
    color: white;
}

.choreo-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.learn-button {
    background: #3498db;
    color: white;
}

.learn-button:hover {
    background: #2980b9;
}

.learn-button.active {
    background: #2980b9;
    border: 2px solid #1f6aa5;
}

.teach-button {
    background: #2ecc71;
    color: white;
}

.teach-button:hover {
    background: #27ae60;
}

.teach-button.active {
    background: #27ae60;
    border: 2px solid #219851;
}

.vote-dance-button.active {
    background: #27ae60;
    border: 2px solid #219851;
}

.modify-button {
    background: #ffaa00;
    color: white;
}

.modify-button:hover {
    background: #d58e00;
}

.delete-button {
    background: #e74c3c;
    color: white;
    margin-left: auto;
}

.delete-button:hover {
    background: #c0392b;
}

/* User info display */
.user-info {
    text-align: right;
    margin-bottom: 20px;
}

.tool-bar {
    text-decoration: none;
}

.tool-bar:hover {
    background-color: #eeeeee;
}

/* Utility classes */
.hidden {
    display: none;
}

.clickable {
    cursor: pointer;
}

.notes-toggle {
    color: #3498db;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    margin: 10px 0 5px;
}

.notes-content {
    display: none;
    margin: 5px 0 15px;
    padding: 10px;
    background: #f0f0f0;
    border-left: 3px solid #3498db;
    border-radius: 0 3px 3px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .choreo-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .votes {
        margin-top: 10px;
    }
    
    .choreo-actions {
        flex-wrap: wrap;
    }
    
    .button {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .delete-button {
        margin-left: 0;
    }
}
