/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a; /* Dark background color */
    color: #f0f0f0; /* Light text color */
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    background-color: #2a2a2a; /* Slightly lighter box color */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    color: #f0f0f0; /* Light text color */
    font-weight: 600;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-weight: bold;
    color: #f0f0f0; /* Light text color */
}

.input-box {
    border: 1px solid #444; /* Darker border for input box */
    border-radius: 10px;
    padding: 5px;
    background-color: #2a2a2a; /* Slightly lighter box color */
    position: relative; /* Added to contain the absolute positioned tooltip */
}

input[type="url"], input[type="text"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    width: 100%; /* Ensure it takes up the full width of its container */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    background-color: #2a2a2a; /* Slightly lighter box color */
    color: #f0f0f0; /* Light text color */
    outline: none; /* Remove outline */
}

button {
    padding: 10px 20px;
    background-color: #444; /* Darker button color */
    color: #f0f0f0; /* Light text color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
}

button:hover {
    background-color: #555; /* Slightly lighter button color on hover */
}

#result {
    margin-top: 20px;
}

#result a {
    color: #007BFF;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px dashed transparent;
    transition: border-color 0.3s;
}

#result a:hover {
    border-bottom-color: #007BFF;
}

#result a::after {
    content: attr(title);
    display: none;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    margin-top: 5px;
    white-space: nowrap;
}

#result a:hover::after {
    display: block;
}
