/* SuperCup Custom Styles */

/* Player Cards */
.player-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.player-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #f8f9fa;
}

.player-card h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.player-card .position {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
}

.player-card .stats {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.player-card .stats span {
    background: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.player-card .stats .assists {
    background: #e74c3c;
}

/* Match Result Cards */
.match-result-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.match-result-card:hover {
    transform: translateY(-3px);
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.team img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 8px;
}

.team span {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.score {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.score .separator {
    color: #bdc3c7;
}

.match-info {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.match-info .date {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.match-info .venue {
    font-size: 12px;
    color: #95a5a6;
}

/* Upcoming Fixtures */
.upcoming-fixtures .title {
    background: #34495e;
    color: white;
    padding: 15px;
    margin: 0 0 20px 0;
    border-radius: 5px;
    text-align: center;
}

/* Points Table Widget */
.point-table-widget .title {
    background: #27ae60;
    color: white;
    padding: 15px;
    margin: 0 0 20px 0;
    border-radius: 5px;
    text-align: center;
}

.point-table-widget table {
    width: 100%;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.point-table-widget table th {
    background: #2c3e50;
    color: white;
    padding: 12px 8px;
    font-size: 12px;
    text-align: center;
}

.point-table-widget table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #ecf0f1;
    font-size: 14px;
}

.point-table-widget table td img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 5px;
    vertical-align: middle;
}

.point-table-widget table tr:hover {
    background: #f8f9fa;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: #2c3e50;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e74c3c;
}

/* Background utilities */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .player-card .stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 15px;
    }
    
    .team {
        flex-direction: row;
        gap: 10px;
    }
    
    .score {
        font-size: 20px;
    }
}

/* Default team logo styling */
img[src*="default-team-logo"], 
img[src*="default-player"] {
    background: #ecf0f1;
    border: 2px solid #bdc3c7;
}

/* Countdown styling */
.defaultCountdown {
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin: 15px 0;
    font-weight: bold;
}

/* Stiluri pentru pagina de înscrieri */
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.contact-form .form-control {
    margin-bottom: 10px;
}

.contact-form .custom-control {
    padding-left: 1.5rem;
}

.contact-form .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #e81f3e;
    border-color: #e81f3e;
}

.contact-form .btn-primary {
    background-color: #e81f3e;
    border-color: #e81f3e;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: #c01631;
    border-color: #c01631;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.alert {
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Responsive pentru formular */
@media (max-width: 768px) {
    .contact-form .half-col {
        width: 100% !important;
        float: none !important;
    }
}

/* Fix pentru dimensiunea logo-urilor în h3-match-counter */
.h3-match-counter .team-left img,
.h3-match-counter .team-right img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Asigur că logo-urile din team-logo-left/right sunt consistent dimensionate */
.team-logo-left img,
.team-logo-right img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Fix pentru dimensiunea logo-urilor în match-teams-vs */
.match-teams-vs .team-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Logo-uri echipe - dimensiuni standardizate */

/* Logo-uri în rezultatele meciurilor */
.last-match .team-name img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
}

/* Logo-uri în pagina de echipe */
.team-card .team-logo {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain;
}

/* Logo-uri în clasament sidebar */
.point-table-widget table img {
    width: 25px !important;
    height: 25px !important;
    object-fit: contain;
    margin-right: 8px;
}

/* Logo-uri în meciurile viitoare */
.next-match-fixtures .team-logo img,
.match-teams-vs .team-logo img {
    width: 35px !important;
    height: 35px !important;
    object-fit: contain;
}

/* Logo-uri în next match box */
.next-match-box .team-logo-left img,
.next-match-box .team-logo-right img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain;
}

/* Logo-uri în sidebar widget pentru ultimul rezultat */
.last-match-widget .team-logo img {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain;
}

/* Logo-uri în paginile live */
.live-match-card .team img,
.upcoming-match-card .team img {
    width: 35px !important;
    height: 35px !important;
    object-fit: contain;
}

/* Logo-uri în pagina de vizionare live */
.live-video-section .team-left img,
.live-video-section .team-right img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain;
}

/* Logo-uri generale pentru echipe */
.team-logo {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

/* Logo-uri mici pentru text inline */
img[alt*="logo"], img[src*="logo"] {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

/* Stiluri specifice pentru home page */
.h3-match-counter .team-left img, 
.h3-match-counter .team-right img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
}

.team-logo-left img, 
.team-logo-right img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
}

.match-teams-vs .team-logo img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
}

/* Brand Logo Size Control */
img[src*="brand-supercup.png"] {
    max-width: 40px !important;
}

/* Mobile specific brand logo size */
@media (max-width: 768px) {
    img[src*="brand-supercup.png"] {
        max-width: 25px !important;
        max-height: 25px !important;
    }
} 