body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #1e1e2f, #252540);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: white;
    overflow: hidden;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 80px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 400px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
}

h1 {
    margin: 0;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-in-out;
}

p {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #b0b0c0;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-group {
    display: flex;
    margin-top: 20px;
    gap: 10px;
}

.input-group input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    outline: none;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-group button, .remove-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.input-group button:hover, .remove-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.item-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.item-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 10px;
    text-align: left;
    animation: fadeIn 0.5s ease-in-out;
}

.item-name {
    word-break: break-all;
    margin-right: 10px;
}

.remove-btn {
    background: rgba(255, 80, 80, 0.8);
    padding: 8px 12px;
    font-size: 0.9rem;
}

.remove-btn:hover {
    background: rgba(255, 50, 50, 1);
    box-shadow: 0 5px 15px rgba(255, 80, 80, 0.4);
}

.loading, .empty, .error {
    text-align: center;
    justify-content: center !important;
    color: #b0b0c0;
    background: transparent !important;
}

.error {
    color: #ff5050;
}
