@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f0f4f8;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(91, 127, 240, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(162, 89, 255, 0.4) 0%, transparent 50%);
    filter: blur(40px);
    z-index: -1;
}

.container {
    max-width: 500px;
    width: 100%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #4F46E5, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.input-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4B5563;
}

input[type="range"],
input[type="number"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    transition: border-color 0.3s;
}

input[type="range"]:focus,
input[type="number"]:focus {
    border-color: #7C3AED;
    outline: none;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container label {
    margin-left: 0.5rem;
}

button {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(45deg, #4F46E5, #7C3AED);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.table-container {
    max-height: 300px; /* Adjust this value as needed */
    overflow-y: auto;
    margin-top: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    word-wrap: break-word;
    table-layout: fixed;
}

th, td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
    overflow-wrap: break-word;
}

th {
    background-color: #F3F4F6;
    font-weight: 600;
    color: #4B5563;
}

th:nth-child(1),
td:nth-child(1) {
    width: 10%;
    text-align: center; /* Center align the number */
}

th:nth-child(2),
td:nth-child(2) {
    width: 70%; /* Take up more space for the password column */
}

th:nth-child(3),
td:nth-child(3) {
    width: 20%;
    text-align: center; /* Center align the action */
}

.copy-btn {
    background-color: #4F46E5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.copy-btn:hover {
    background-color: #3b37c6;
}
