/* ...existing code... */
.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: auto;
}
.modal-content img {
    display: block;
    margin: 0 auto 16px auto;
    max-width: 100%;
    max-height: 60vh;
    border-radius: 16px;
    object-fit: contain;
}
.modal-close {
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 2em;
    color: #888;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
}
.modal-close:hover {
    color: #f44336;
}
.filters button#resetFilters {
    padding: 8px 16px;
    font-size: 1em;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #f44336;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: 8px;
}
.filters button#resetFilters:hover {
    background: #d32f2f;
}
.measure-label {
    cursor: pointer;
    border-bottom: 1px dotted #888;
    white-space: nowrap;
}
.cocktail-thumb {
    align-self: flex-start !important;
    vertical-align: top !important;
}
.drink-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    align-self: flex-start !important;
    vertical-align: top !important;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f7f7;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 700px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 32px;
}
h1 {
    text-align: center;
    margin-bottom: 24px;
}
/* ...existing code... */
#searchInput {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 0;
}
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.filters select {
    padding: 8px;
    font-size: 1em;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #f9f9f9;
}
.result {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    background: #fafafa;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    padding: 6px;
}
.cocktail-info {
    flex: 1;
    margin-left: 24px;
}
.cocktail-name {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 0px;
}
.cocktail-category {
    color: #888;
    font-size: 0.95em;
    margin-bottom: 8px;
}
.cocktail-instructions {
    font-size: 0.98em;
    color: #444;
}
/* ...existing code... */
.glass {
    position: relative;
    width: 60px;
    height: 120px;
    border-radius: 0 0 30px 30px;
    background: #e0e0e0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.glass:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.glass-segment {
    width: 100%;
    position: absolute;
    left: 0;
}
.tooltip {
    display: none;
    position: absolute;
    left: 70px;
    top: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    padding: 12px;
    min-width: 180px;
    z-index: 10;
    font-size: 0.98em;
}
.glass:hover .tooltip {
    display: block;
}
.glass-labels {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: 2px;
}
.glass-label {
    font-size: 0.98em;
    font-weight: 500;
    text-shadow: 0 1px 2px #fff;
}
