@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #f8fafc;
    /* Soft neutral background */
    color: #1e293b;
    /* Dark gray-blue text */
    line-height: 1.6;
}

/* Navbar */
nav {
    background-color: #ffffff;
    padding: 14px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: #0d9488;
    /* Deep teal accent */
    cursor: pointer;
}

ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

ul>li {
    list-style: none;
    margin: 0 15px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #475569;
    transition: color 0.3s ease;
}

ul>li:hover {
    color: #0d9488;
}

/* Container */
.container {
    max-width: 900px;
    width: 95%;
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

h1,
h2 {
    color: #0f172a;
    margin-bottom: 10px;
}

p {
    color: #64748b;
    margin-bottom: 20px;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

table th {
    background-color: #ecfdf5;
    /* Light teal tint */
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #0d9488;
}

table td {
    padding: 10px 12px;
    border-top: 1px solid #e2e8f0;
    color: #334155;
}

tr:hover td {
    background-color: #f9fafb;
}

/* Buttons */
.btn,
.btnsm {
    padding: 8px 16px;
    background: #0d9488;
    /* Deep teal */
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover,
.btnsm:hover {
    background: #0f766e;
    /* Slightly darker teal */
}

/* Inputs */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px 12px;
    margin-top: 6px;
    margin-bottom: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #ffffff;
    color: #1e293b;
    font-size: 0.95rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
    outline: none;
    border: 1px solid #0d9488;
    box-shadow: 0 0 4px rgba(13, 148, 136, 0.3);
}

/* Copy Icon */
img {
    cursor: pointer;
    margin-left: 6px;
    filter: invert(40%);
    transition: transform 0.2s ease;
}

img:hover {
    transform: scale(1.1);
}

/* Alert */
#alert {
    display: none;
    color: #0d9488;
    font-weight: bold;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    ul {
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
    }

    ul>li {
        margin: 8px 0;
    }

    .container {
        padding: 15px;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .btn,
    .btnsm {
        width: 100%;
        text-align: center;
    }
}