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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo i {
    font-size: 2.5rem;
    color: #60a5fa;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(to right, #60a5fa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
}

.main-content {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-section {
    margin-bottom: 3rem;
}

.input-wrapper {
    display: flex;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.6);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

.input-wrapper i {
    color: #60a5fa;
    font-size: 1.25rem;
    padding: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

input {
    flex: 1;
    background: transparent;
    border: none;
    color: #e2e8f0;
    font-size: 1.1rem;
    height: 3rem;
    padding: 0 1rem;
    outline: none;
}

input::placeholder {
    color: #64748b;
}

button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 2rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    height: 3rem;
    min-width: 140px;
}

button:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

button:disabled {
    background: #475569;
    cursor: not-allowed;
    transform: none;
}

button i {
    font-size: 1.2rem;
    margin: 0;
}

.preview-section {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h2 {
    color: #e2e8f0;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.preview-area {
    display: flex;
    gap: 2rem;
    align-items: center;
}

#iconPreview {
    flex: 1;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 2rem;
}

.placeholder {
    text-align: center;
    color: #64748b;
}

.placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
}

#iconPreview img {
    max-width: 196px;
    max-height: 196px;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

#iconPreview img:hover {
    transform: scale(1.05);
}

.preview-info {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.size-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.icons-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 250px;
}

.icon-item {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-item:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateY(-2px);
}

.icon-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.icon-info {
    flex: 1;
}

.icon-info .name {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.icon-info .details {
    color: #94a3b8;
    font-size: 0.8rem;
}

.icon-item button {
    padding: 0.5rem;
    min-width: auto;
    height: auto;
    background: transparent;
    color: #60a5fa;
    font-size: 1rem;
}

.icon-item button:hover {
    color: #3b82f6;
    transform: translateY(0);
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .main-content {
        padding: 1.5rem;
    }

    .input-wrapper {
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .input-wrapper i {
        width: 2.5rem;
        height: 2.5rem;
    }

    input {
        height: 2.5rem;
        font-size: 1rem;
    }

    button {
        height: 2.5rem;
        padding: 0 1.5rem;
        font-size: 1rem;
        min-width: 120px;
    }

    .preview-area {
        flex-direction: column;
    }

    .preview-info {
        width: 100%;
        align-items: center;
    }

    .icons-list {
        width: 100%;
    }
} 