body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f6f8;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

h1 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

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

input[type="url"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

button:hover {
    background-color: #2980b9;
}

.stats-lookup {
    margin-top: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.hidden {
    display: none;
}

#result {
    margin-top: 2rem;
    padding: 1rem;
    background: #e8f6f3;
    border-radius: 4px;
}

.link-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

#shortLink {
    font-weight: bold;
    color: #2ecc71;
    text-decoration: none;
}

#error {
    color: #e74c3c;
    margin-top: 1rem;
}

#stats {
    margin-top: 2rem;
    text-align: left;
    background: #fdfefe;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
}