.tennis-predictions-grid-container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.tennis-predictions-grid-container h1 {
color: #333;
margin-bottom: 30px;
font-weight: 600;
}
.tennis-predictions-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 25px;
list-style: none;
padding: 0;
margin: 0;
}
.match-card {
background: #fff;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-header {
padding: 15px;
background: #f8f9fa;
border-bottom: 1px solid #e9ecef;
}
.match-time {
font-size: 14px;
color: #6c757d;
margin-bottom: 5px;
}
.tournament-info {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.tournament-flag {
width: 24px;
height: 16px;
margin-right: 8px;
border: 1px solid #dee2e6;
}
.tournament-name {
font-weight: 500;
font-size: 15px;
color: #495057;
}
.teams-header {
display: flex;
align-items: center;
justify-content: space-between;
margin: 15px 0;
}
.player {
display: flex;
flex-direction: column;
align-items: center;
flex: 1;
}
.player img {
width: 50px;
height: 50px;
border-radius: 50%;
object-fit: cover;
border: 2px solid #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.player-name {
margin-top: 8px;
font-weight: 500;
text-align: center;
}
.player-ranking {
font-size: 13px;
color: #6c757d;
}
.vs-separator-tennis {
font-weight: bold;
padding: 0px;
margin: -24px;
}
.prediction-item-tennis {
margin: 10px 0;
padding: 8px 12px;
background: #f8f9fa;
border-radius: 6px;
display: flex;
justify-content: space-between;
}
.prediction-label {
font-weight: 500;
color: #495057;
}
.prediction-value {
font-weight: 600;
color: #212529;
}
.card-section {
padding: 15px;
border-bottom: 1px solid #e9ecef;
}
.card-section h3 {
margin-top: 0;
margin-bottom: 15px;
color: #343a40;
font-size: 18px;
}
.players-section {
display: flex;
justify-content: space-between;
gap: 15px;
}
.player-details {
flex: 1;
display: flex;
align-items: center;
}
.player-photo-container {
margin-right: 12px;
}
.player-photo {
width: 60px;
height: 60px;
border-radius: 50%;
object-fit: cover;
}
.player-info {
display: flex;
flex-direction: column;
}
.player-stats {
font-size: 13px;
color: #6c757d;
margin-top: 2px;
}
.winner-selection .selected-player {
display: flex;
align-items: center;
padding: 10px;
background: #e8f5e9;
border-radius: 6px;
}
.winner-selection .player-photo.selected {
width: 50px;
height: 50px;
margin-right: 12px;
}
.over-under-selection .selected-market {
padding: 10px;
border-radius: 6px;
font-weight: 500;
}
.over-selected {
background: #e3f2fd;
color: #0d47a1;
}
.under-selected {
background: #fff8e1;
color: #e65100;
}
.prediction-comment-card {
margin-top: 15px;
padding: 15px;
background: #f8f9fa;
border-radius: 8px;
border-left: 4px solid #4CAF50;
}
.comment-card-header {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.comment-icon {
margin-right: 8px;
color: #4CAF50;
}
.comment-card-title {
margin: 0;
font-size: 16px;
color: #343a40;
}
.comment-card-body {
font-size: 14px;
line-height: 1.5;
color: #495057;
}
.comment-card-body p {
margin: 0 0 10px 0;
}
.comment-card-body p:last-child {
margin-bottom: 0;
}
.prediction-item-published {
font-size: 12px;
color: #6c757d;
text-align: right;
margin-top: 10px;
}
.tennis-predictions-no-matches,
.tennis-predictions-no-predictions {
text-align: center;
padding: 30px;
background: #f8f9fa;
border-radius: 8px;
color: #6c757d;
font-size: 16px;
}
@media (max-width: 768px) {
.tennis-predictions-grid {
grid-template-columns: 1fr;
}
}