/* Base styles for modern design */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212; /* AMOLED dark background */
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
}

/* Main container with modern card-like design */
.container {
    background-color: #1f1f1f;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
    max-width: 450px;
    transition: transform 0.3s ease;
}

.container:hover {
    transform: scale(1.02); /* Slight hover effect for a modern touch */
}

/* Headings with better typography */
h1 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 500;
}

p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #bdbdbd;
}

/* Input box and button with sleek design */
.input-group {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

input {
    width: 75%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 10px 0 0 10px;
    outline: none;
    background-color: #2a2a2a;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

input:focus {
    border-color: #00aaff;
}

button {
    padding: 12px 20px;
    border: none;
    background-color: #00aaff;
    color: white;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

button:hover {
    background-color: #008ecc;
}

/* Result box with modern styling */
.result-box {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
    word-break: break-all;
    text-align: left;
}

/* Link box with modern spacing and clean borders */
.link-box {
    background-color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    color: #fff;
    font-size: 14px;
    position: relative;
    text-align: left;
}

.link-box p {
    margin: 0;
    padding: 8px 0;
}

/* Copy button with modern look */
.link-box button {
    background-color: #00aaff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.link-box button:hover {
    background-color: #008ecc;
}

/* Subtle copy animation message */
.copy-message {
    font-size: 13px;
    color: #76ff03;  /* Bright green for copy success */
    opacity: 0;
    transition: opacity 0.5s ease;
    margin-top: 5px;
    text-align: center;
}

.copy-message.active {
    opacity: 1;
}

/* Scrollbar design for modern look */
.result-box::-webkit-scrollbar {
    width: 8px;
}

.result-box::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
}

.result-box::-webkit-scrollbar-track {
    background-color: #2a2a2a;
}
