/* ===== GLOBAL ===== */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #0d0d0f;
    color: #fff;
}

/* Gradient colors */
:root {
    --grad: linear-gradient(90deg, #ff0080, #7928ca, #007cf0);
}

/* ===== HEADER ===== */
.header {
    display: flex;
    align-items: center;
    padding: 20px 40px;
}

.logo {
    height: 100px;
}

/* ===== SEARCH ===== */
.search-section {
    text-align: center;
    margin-top: 30px;
}

.search-box {
    display: inline-flex;
    gap: 10px;
    margin-top: 15px;
}

input {
    padding: 15px;
    width: 400px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 16px;
    transition: 0.3s;
}

input:focus {
    box-shadow: 0 0 10px #7928ca;
}

/* ===== BUTTON ===== */
button {
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: var(--grad);
    color: white;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

button:hover {
    transform: scale(1.05);
}

button::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
}

button:active::after {
    width: 200px;
    height: 200px;
}

/* ===== TABLE ===== */
.table-container {
    margin: 40px auto;
    width: 90%;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease-in-out;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    padding: 15px;
    background: rgba(255,255,255,0.1);
    text-align: left;
}

td {
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

tr:hover {
    background: rgba(255,255,255,0.08);
}

/* ===== SAVE BUTTON ===== */
.save-btn {
    float: right;
    margin-top: 20px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BACKGROUND BLOBS ===== */
.bg-animation::before,
.bg-animation::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}

.bg-animation::before {
    width: 300px;
    height: 300px;
    background: #ff0080;
    top: 10%;
    left: 10%;
    animation: float 8s infinite alternate;
}

.bg-animation::after {
    width: 300px;
    height: 300px;
    background: #007cf0;
    bottom: 10%;
    right: 10%;
    animation: float 10s infinite alternate;
}

.profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #7928ca;
}

td:last-child {
    font-weight: bold;
    color: #00e0ff;
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-40px); }
}