body {
    background: #f4f7fb;
}

.wc-modern-wrap {
    max-width: 1300px;
    margin: 40px auto;
    padding: 20px;
}

.wc-modern-card {
    background: linear-gradient(145deg, #ffffff, #f1f5ff);
    border-radius: 24px;
    padding: 35px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .05),
        0 1px 3px rgba(0, 0, 0, .03);
    border: 1px solid #edf1f7;
}

.wc-modern-card h1,
.wc-modern-card h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #1e293b;
    font-size: 28px;
    font-weight: 700;
}

.mt-30 {
    margin-top: 35px;
}

.wc-modern-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.full-width {
    grid-column: 1/-1;
}

.form-group label {
    margin-bottom: 10px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    border: 1px solid #dbe4f0;
    background: #fff;
    border-radius: 16px;
    padding: 15px 18px;
    font-size: 14px;
    transition: .25s;
    outline: none;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
}

.submit-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
    box-shadow: 0 10px 20px rgba(99, 102, 241, .25);
    height: 56px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(99, 102, 241, .35);
}

.wc-modern-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
}

.wc-modern-table thead {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.wc-modern-table thead th {
    color: #fff;
    padding: 18px;
    font-size: 14px;
    font-weight: 700;
}

.wc-modern-table td {
    padding: 18px;
    border-bottom: 1px solid #edf2f7;
    text-align: center;
    color: #334155;
}

.wc-modern-table tbody tr {
    transition: .2s;
}

.wc-modern-table tbody tr:hover {
    background: #f8fafc;
}

.delete-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
    display: inline-block;
}

.delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(239, 68, 68, .25);
    color: #fff;
}

/*
|--------------------------------------------------------------------------
| سرچ
|--------------------------------------------------------------------------
*/
.wc-search-form {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.wc-search-form input {
    flex: 1;
    border: 1px solid #dbe4f0;
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 14px;
    outline: none;
    transition: .25s;
}

.wc-search-form input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
}

.wc-search-form button {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    transition: .25s;
}

.wc-search-form button:hover {
    transform: translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| صفحه بندی
|--------------------------------------------------------------------------
*/
.wc-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.wc-pagination a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
    transition: .25s;
    font-weight: 600;
}

.wc-pagination a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

.wc-pagination a.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
}

/*
|--------------------------------------------------------------------------
| نتیجه جستجو
|--------------------------------------------------------------------------
*/
.wc-modern-wrap {
    width: 100%;
}

.wc-modern-card {
    position: relative;
    overflow: hidden;
}

.wc-modern-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, .08);
    border-radius: 50%;
    top: -120px;
    right: -120px;
    filter: blur(10px);
}

.wc-modern-card::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    background: rgba(14, 165, 233, .08);
    border-radius: 50%;
    bottom: -120px;
    left: -120px;
    filter: blur(10px);
}

.wc-modern-card>* {
    position: relative;
    z-index: 2;
}

/*
|--------------------------------------------------------------------------
| Search Form
|--------------------------------------------------------------------------
*/
.wc-search-form {
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    gap: 18px;
    align-items: center;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .04),
        0 1px 3px rgba(0, 0, 0, .03);
}

.wc-search-form input {
    flex: 1;
    border: none;
    background: #f8fafc;
    border-radius: 18px;
    padding: 18px 22px;
    font-size: 15px;
    transition: .3s;
    outline: none;
    color: #0f172a;
    box-shadow: inset 0 0 0 1px #dbe4f0;
}

.wc-search-form input:focus {
    background: #fff;
    box-shadow:
        0 0 0 4px rgba(99, 102, 241, .12),
        inset 0 0 0 1px #6366f1;
}

.wc-search-form input::placeholder {
    color: #94a3b8;
}

.wc-search-form button {
    border: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 18px 30px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: .3s;
    box-shadow: 0 10px 25px rgba(99, 102, 241, .28);
    min-width: 140px;
}

.wc-search-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(99, 102, 241, .35);
}

/*
|--------------------------------------------------------------------------
| Result Box
|--------------------------------------------------------------------------
*/
.wc-result-box {
    margin-top: 30px;
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    border-radius: 24px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .04),
        0 1px 3px rgba(0, 0, 0, .03);
    animation: fadeUp .4s ease;
}

.wc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px dashed #dbe4f0;
    gap: 20px;
}

.wc-result-item:last-child {
    border-bottom: none;
}

.wc-result-item span {
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.wc-result-item strong {
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
}

/*
|--------------------------------------------------------------------------
| Error Box
|--------------------------------------------------------------------------
*/
.wc-not-found {
    margin-top: 25px;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    padding: 20px;
    border-radius: 18px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 25px rgba(239, 68, 68, .12);
    animation: fadeUp .4s ease;
}

/*
|--------------------------------------------------------------------------
| Animation
|--------------------------------------------------------------------------
*/
@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/
@media(max-width:768px) {

    .wc-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .wc-search-form button {
        width: 100%;
    }

    .wc-result-item {
        flex-direction: column;
        align-items: flex-start;
    }

}