* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fdf6f0;
    min-height: 100vh;
}

#app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hidden {
    display: none !important;
}

.top-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.red-text {
    color: #e74c3c;
    font-size: 14px;
    text-align: center;
    margin: 10px 0;
}

.error-text {
    color: #e74c3c;
    text-align: center;
    margin-top: 10px;
}

.input-field {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    display: block;
    margin: 15px auto;
    transition: border-color 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: #ff6b9d;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b9d, #ff8a80);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,107,157,0.4);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ff6b9d;
    color: #ff6b9d;
}

.btn-outline:hover {
    background: #ff6b9d;
    color: white;
}

.btn-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.drink-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.drink-item {
    width: 100%;
    height: 140px;
    object-fit: contain;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid transparent;
    background-color: #f5f5f5;
}

.drink-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.drink-item.selected {
    border-color: #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255,107,157,0.3);
}

.selected-drink {
    text-align: center;
    margin: 20px 0;
}

.selected-drink img {
    max-width: 280px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.form-group {
    margin: 20px 0;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: all 0.3s;
}

.radio-group label:hover {
    background: #ffe6ec;
}

.radio-group input[type="radio"] {
    accent-color: #ff6b9d;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.order-name {
    font-weight: 600;
    color: #333;
    min-width: 80px;
}

.order-img {
    width: 200px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background-color: #f5f5f5;
}

.order-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.order-detail span {
    padding: 4px 12px;
    background: white;
    border-radius: 15px;
}

.empty-text {
    text-align: center;
    color: #999;
    padding: 40px 0;
}

.order-summary {
    text-align: center;
    padding: 20px;
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 12px;
}

.order-summary img {
    max-width: 280px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.order-summary .order-detail {
    justify-content: center;
}

.footer {
    position: fixed;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
}

.footer img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
}

.footer-text {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .drink-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .order-item {
        flex-direction: column;
        text-align: center;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
