.lichess-dashboard {
    background: #1a1e24;
    color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lichess-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.lichess-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lichess-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.lichess-online {
    background-color: #4cd137;
    box-shadow: 0 0 8px #4cd137;
}

.lichess-offline {
    background-color: #7f8c8d;
}

.lichess-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.lichess-stat-card {
    background: #252b33;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.2s;
}

.lichess-stat-card:hover {
    transform: translateY(-5px);
    border-color: #555;
}

.lichess-stat-label {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.lichess-stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f1c40f;
}

.lichess-chart-container {
    background: #252b33;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.lichess-notice {
    padding: 15px;
    background: #f39c12;
    color: #000;
    border-radius: 5px;
    text-align: center;
}

.lichess-error {
    padding: 15px;
    background: #e74c3c;
    color: #fff;
    border-radius: 5px;
    text-align: center;
}

/* Estilos de Validação v1.1.0 */
input[name="field_7"] {
    transition: all 0.3s ease;
    border-width: 2px !important;
}

#lichess-validation-feedback {
    display: block;
    min-height: 20px;
    padding-left: 5px;
}

.lichess-stat-card .text-success {
    color: #4cd137 !important;
}

.lichess-stat-card .text-danger {
    color: #e74c3c !important;
}

/* Melhoria no Scroll de Gráfico */
.lichess-chart-container canvas {
    max-width: 100%;
}

/* Estilos de Ranking v2.0.0 */
.lichess-ranking-wrap {
    background: #1a1e24;
    border-radius: 12px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
}

.lichess-mvp-card {
    transition: transform 0.3s ease;
}

.lichess-mvp-card:hover {
    transform: translateY(-5px);
}

.lichess-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
}

.lichess-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #eee;
}

.lichess-table td {
    padding: 15px;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

.lichess-table tr:hover {
    background-color: #f9f9f9;
}

.lichess-table tr:first-child td:first-child {
    font-weight: bold;
    color: #ffd700;
}

.lichess-ranking-title {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-left: 4px solid #f1c40f;
    padding-left: 15px;
}

.lichess-ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.lichess-ranking-table th {
    text-align: left;
    color: #999;
    text-transform: uppercase;
    font-size: 12px;
    padding: 12px;
    border-bottom: 2px solid #333;
}

.lichess-ranking-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #222;
    color: #eee;
}

.lichess-ranking-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.rank-number {
    font-weight: bold;
    font-size: 1.1rem;
    color: #666;
}

.rank-pos-1 .rank-number {
    color: #f1c40f;
}

.rank-pos-2 .rank-number {
    color: #bdc3c7;
}

.rank-pos-3 .rank-number {
    color: #cd7f32;
}

.rank-medal {
    font-size: 1.4rem;
}

.rank-team-name {
    color: #fff;
    font-size: 1.1rem;
}

.rank-members {
    color: #aaa;
    font-size: 0.9rem;
}

.rank-idr-total {
    text-align: right;
    font-weight: bold;
    color: #f1c40f;
    font-size: 1.2rem;
}

.lichess-ranking-footer {
    margin-top: 20px;
    font-size: 11px;
    color: #555;
    text-align: right;
}