:root {
    --primary-glow: #6366f1;
    --bg-dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.05);
}

.main-icon {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary-glow);
    box-shadow: 0 0 15px var(--primary-glow);
    vertical-align: middle;
    margin-right: 10px;
}

body {
    background: var(--bg-dark);
    color: white;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.header-content h1 {
    font-size: 1rem;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.custom-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    padding: 12px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.main-title img {
    filter: drop-shadow(0 0 8px var(--primary-glow));
    border-radius: 50%;
    margin-right: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
}

.btn-glow {
    background: var(--primary-glow);
    color: white;
    font-weight: 600;
    border: none;
    padding: 12px;
    border-radius: 8px;
    transition: 0.3s;
}

.table-responsive-custom {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 5px;
    margin-top: 20px;
    padding: 10px
}

.modern-table {
    background-color: transparent !important;
    color: white !important;
    width: 100% !important;
    border-collapse: collapse;
}

.modern-table thead th {
    background: rgba(99, 102, 241, 0.2) !important;
    color: var(--primary-glow) !important;
    border-bottom: 2px solid var(--primary-glow) !important;
    padding: 10px !important;
    text-align: center;
}

.modern-table tbody td {
    background: transparent !important;
    color: white !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 12px !important;
    text-align: center;
    vertical-align: middle;
}

.modern-table tbody tr {
    transition: all 0.3s ease;
}

.modern-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    transform: scale(1.01);
    cursor: pointer;
}

.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3) !important;
}

.is-invalid:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5) !important;
    outline: none !important;
}

@media screen and (max-width: 768px) {
    .table-title {
        font-size: 0;
        color: var(--primary-glow);
        text-shadow: 0 0 10px var(--primary-glow);
    }

    .table-title::before {
        content: "Product Cards";
        font-size: 1.5rem;
    }

    .modern-table thead {
        display: none;
    }

    .modern-table, .modern-table tbody, .modern-table tr, .modern-table td {
        display: block;
        width: 100% !important;
    }

    .modern-table tr {
        margin-bottom: 20px;
        background: var(--glass-bg) !important;
        border: 1px solid rgba(99, 102, 241, 0.2);
        border-radius: 20px;
        padding: 15px;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
    }

    .modern-table tr:hover {
        transform: translateY(-5px) scale(1.02);
        border-color: var(--primary-glow);
        box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
        background: rgba(99, 102, 241, 0.05) !important;
    }

    .modern-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 5px !important;
        border: none !important;
        font-size: 14px !important;
    }

    .modern-table td::after {
        color: #fff;
        font-weight: 500;
    }

    .modern-table td::before {
        content: attr(data-label);
        font-weight: bold;
        color: var(--primary-glow);
        font-size: 12px;
        text-transform: uppercase;
    }

    .btn-action-container {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 15px !important;
    }

    .btn-sm-custom {
        padding: 5px 15px !important;
        font-size: 12px !important;
        border-radius: 20px !important;
        flex: 1;
    }
}

