/* Basic layout and dark mode transition */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #f5f5f5;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
}

/* Centered container box */
.container {
    width: 100%;
    max-width: 500px;
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Text input field */
input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Buttons */
button {
    padding: 10px 20px;
    background-color: #0078d4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #005fa3;
}

/* Secret copied notification */
#notification {
    display: none;
    margin-top: 15px;
    padding: 10px;
    background-color: #d1ffd1;
    border: 1px solid #2a9c2a;
    border-radius: 4px;
}

/* Dark mode toggle button */
#toggleDarkMode {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #1e1e1e;
    color: #e0e0e0;
}

body.dark-mode .container {
    background-color: #2b2b2b;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

body.dark-mode input,
body.dark-mode button {
    border-color: #555;
    
}

body.dark-mode #notification {
    background-color: #3a3;
    border-color: #292;
}

body.dark-mode input[type="text"] {
    background-color: #444;
    color: white;
    border: 1px solid #555;
}
