.urs-dashboard-wrapper,
.urs-dashboard-wrapper * {
    box-sizing: border-box;
}

.urs-dashboard-wrapper {
    direction: rtl;
    text-align: right;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    width: 100%;
    margin: 0 auto;
}

.urs-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.urs-stat-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    text-align: center;
    border: 1px solid #f1f5f9;
    border-bottom: 4px solid #cbd5e1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.urs-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.urs-stat-card.highlight {
    border-color: #10b981;
    border-bottom-width: 4px;
    background: linear-gradient(180deg, #ffffff 0%, #f0fff4 100%);
    box-shadow: 0 4px 25px rgba(16, 185, 129, 0.05);
}

.urs-stat-card.highlight:hover {
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.15);
}

.urs-stat-card h3 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.urs-stat-card .value {
    font-size: 34px;
    font-weight: 800;
    margin: 6px 0;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.urs-stat-card small {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.5;
    margin-top: 4px;
}


.urs-tabs-header {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 30px;
    padding: 0;
    flex-wrap: wrap;
}

.urs-tab-btn {
    padding: 14px 24px;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    color: #64748b;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    transition: all 0.2s ease-in-out;
    margin: 0;
    font-size: 14px;
}

.urs-tab-btn:hover {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.02);
}

.urs-tab-btn.active {
    border-bottom-color: #0284c7;
    color: #0284c7;
    background: transparent;
}

.urs-tab-content {
    display: none;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.01);
}

.urs-tab-content.active {
    display: block;
}

.urs-tab-content h4 {
    margin: 0 0 18px 0;
    font-size: 16px;
    color: #0f172a;
    font-weight: 700;
}

.urs-tab-content p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.urs-tab-content form {
    margin-top: 20px;
}

.urs-tab-content input[type="number"],
.urs-tab-content select {
    height: 44px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 0 14px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    background: #ffffff;
    transition: all 0.2s ease;
}

.urs-tab-content input[type="number"]:focus,
.urs-tab-content select:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.urs-tab-content button[type="submit"] {
    height: 44px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 24px;
    border: none;
    transition: all 0.2s ease;
}

.urs-team-messages-box {
    max-height: 280px;
    overflow-y: auto;
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
}

#urs-sponsor-team-msg-form button[type="submit"] {
    background: #0284c7;
    color: #ffffff;
    height: 44px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    padding: 0 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#urs-sponsor-team-msg-form button[type="submit"]:hover {
    background: #0369a1;
}

.urs-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid #f1f5f9;
}

.urs-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 16px;
    text-align: right;
    border-bottom: 2px solid #f1f5f9;
    font-size: 13px;
}

.urs-table td {
    padding: 16px;
    text-align: right;
    border-bottom: 1px solid #f8fafc;
    color: #334155;
    font-size: 13px;
    transition: all 0.2s ease;
}

.urs-table tr:hover td {
    background: #f8fafc;
}

.urs-table tr:last-child td {
    border-bottom: none;
}

.urs-alert {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fef3c7;
}


/* V12 Team Members board */
.urs-team-board{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:20px;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.urs-team-board-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px;border-bottom:1px solid #eef2f7;padding-bottom:14px}
.urs-team-board-head h3{margin:0 0 8px;font-size:22px;color:#0f172a;font-weight:900}
.urs-team-board-head p{margin:0;color:#64748b;line-height:1.8;font-size:14px}
.urs-team-stats{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-bottom:18px}
.urs-team-members-table{width:100%;border-collapse:separate!important;border-spacing:0;background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden}
.urs-team-members-table th{background:#f8fafc;color:#334155;font-weight:900;padding:14px;text-align:right;border-bottom:1px solid #e2e8f0}
.urs-team-members-table td{padding:14px;border-bottom:1px solid #f1f5f9;vertical-align:middle;color:#334155;line-height:1.65}
.urs-team-members-table tr:last-child td{border-bottom:0}
.urs-rank-badge{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:#eef2ff;color:#3730a3;font-weight:900}
.urs-reqs-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:14px}
.urs-req-field{width:100%;padding:7px 10px;border:1px solid #cbd5e1;border-radius:6px;font-size:13px;height:36px;box-sizing:border-box}
.urs-req-field:focus{border-color:#0284c7;outline:none;box-shadow:0 0 0 2px rgba(2,132,199,.15)}
