/* Reset and base */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    color: #333;
}

header {
    background: #4a90e2;
    color: white;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

#welcome-msg {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 300;
}

/* Main content */
#page-wrapper {
    background: white;
    padding: 30px 20px;
    margin: 30px 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

#form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#username {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    text-align: center;
}

#submit-btn {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #4a90e2;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

#submit-btn:hover {
    background-color: #357ABD;
}
.tip {
    font-style: italic;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tip i{
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 1.2rem;
}

#results {
    margin-top: 25px;
    text-align: left;
}

#results p {
    background: #f0f4f8;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.result-icon {
    margin-right: 10px;
    font-size: 1.2rem;
    vertical-align: middle;
}

.result-exists {
    color: green;
}

.result-notfound {
    color: red;
}


/* Footer */
footer {
    margin-top: auto;
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* Responsive */
@media (max-width: 500px) {
    #page-wrapper {
        padding: 20px 15px;
    }

    #username, #submit-btn {
        width: 100%;
    }
}
