/* --- SEARCH BAR DESIGN --- */
.vks-search-wrapper {
    margin-bottom: 35px;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.vks-search-inner {
    position: relative;
    width: 100%;
    display: block;
}

/* The Search Icon - Fixed inside the box */
.vks-search-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.2rem;
    pointer-events: none; /* Allows click to pass through to input */
    z-index: 10;
}

/* The Input Field */
#vks-search-input {
    width: 100%;
    display: block;
    padding: 18px 20px 18px 55px !important; /* Left padding creates space for icon */
    font-size: 16px;
    line-height: 1.5;
    font-family: inherit;
    color: #333;
    background-color: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 6px; /* Professional rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); /* Soft modern shadow */
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensures padding doesn't break width */
    margin: 0;
}

/* Focus State - Active styling */
#vks-search-input:focus {
    outline: none;
    border-color: #007cba; /* Standard WordPress Blue */
    box-shadow: 0 6px 15px rgba(0, 124, 186, 0.1);
    background-color: #fff;
}

/* Placeholder Text */
#vks-search-input::placeholder {
    color: #a0a5ab;
    font-weight: 400;
    font-style: italic;
}

/* --- GRID LAYOUT (Responsive) --- */
.vks-participants-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 Columns */
    gap: 25px;
    padding: 10px 0 30px 0;
    font-family: "Georgia", "Times New Roman", serif;
    width: 100%;
    box-sizing: border-box;
}

.vks-no-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border: 1px dashed #ccc;
    color: #777;
    border-radius: 4px;
}

@media (max-width: 900px) {
    .vks-participants-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 Columns */
    }
}

@media (max-width: 600px) {
    .vks-participants-grid {
        grid-template-columns: 1fr; /* Mobile: 1 Column */
    }
    
    #vks-search-input {
        font-size: 15px;
        padding: 15px 15px 15px 50px !important;
    }
}

/* --- CARD STYLING --- */
.vks-participant-card {
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    box-sizing: border-box;
}

.vks-card-header {
    background: rgba(0,0,0,0.03);
    padding: 12px 18px;
    font-weight: bold;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-family: "Helvetica", "Arial", sans-serif;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vks-card-body {
    padding: 18px;
}

.vks-field-row {
    margin-bottom: 10px;
    font-size: 0.95em;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
}

.vks-field-row:last-child {
    margin-bottom: 0;
}

.vks-field-row i {
    color: #888;
    width: 20px;
    text-align: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.vks-label {
    font-weight: 700;
    opacity: 0.85;
    margin-right: 5px;
}

.vks-value {
    word-break: break-word; /* Prevents long emails/names from breaking layout */
}

/* Shadows */
.shadow-none { box-shadow: none; border: 1px solid #eee; }
.shadow-light { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.shadow-medium { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.shadow-heavy { box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* Hover Effects */
.hover-lift:hover { transform: translateY(-5px); }
.hover-glow:hover { box-shadow: 0 0 20px rgba(0,0,0,0.15); }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.anim-fade-in { animation: fadeInUp 0.6s ease forwards; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}
.anim-slide-up { animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }