* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    padding: 0.75rem 1.5rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #0056b3;
}

.result {
    margin-top: 1rem;
}

.hash-output {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    word-break: break-all;
}

.hidden {
    display: none;
}

small {
    display: block;
    text-align: center;
    color: #666;
    margin-top: 0.5rem;
}

#copyBtn {
    width: 30%;
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

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

    button {
        width: 100%;
    }

    .hash-output {
        flex-direction: column;
        align-items: stretch;
    }

    #copyBtn {
        width: 100%;
    }
}
