/* Tahmin Sayfası Özel Stilleri */



/* Main Container */
.main-container {
    min-height: calc(100vh - 60px);
    padding: 0;
    margin: 0;
    margin-top: 60px;
}

/* Content Area */
.content-area {
    padding: 20px;
    overflow-y: auto;
    position: relative;
}

/* Top Right Info Boxes */
.top-info-boxes {
    position: relative;
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 10px 0 20px 0;
}

.info-box {
    background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    width: 100px;
    height: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.countdown-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
}

.countdown-display {
    font-size: 14px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 2px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.countdown-label {
    font-size: 10px;
    color: #3498db;
    font-weight: 500;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.history-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
}

.history-title {
    font-size: 14px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 2px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.history-subtitle {
    font-size: 10px;
    color: #3498db;
    font-weight: 500;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* Active Prediction Status */
.active-prediction-status {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #ffffff;
    padding: 12px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    border-radius: 8px;
    margin-bottom: 20px;
}

.status-icon {
    font-size: 16px;
}

.status-text {
    font-size: 13px;
}

.content-wrapper {
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 16px;
    color: #b3b3b3;
    text-align: center;
    margin-bottom: 20px;
}

/* Match Grid */
.match-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

/* Match Card */
.match-card {
    background: linear-gradient(145deg, #2a2a3e 0%, #1a1a2e 100%);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 200px;
}

.match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.match-date {
    text-align: center;
    color: #30b44c;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}



/* Teams */
.teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

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

.team-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.team-logo-placeholder {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.no-matches {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-matches-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-matches h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 10px;
}

.no-matches p {
    color: #b3b3b3;
    font-size: 16px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.close {
    color: #b3b3b3;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 30px;
}

/* History Styles */
.no-history {
    text-align: center;
    padding: 40px 20px;
}

.no-history-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-history h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 10px;
}

.no-history p {
    color: #b3b3b3;
    font-size: 14px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-item {
    background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.history-item.correct {
    border-left: 4px solid #27ae60;
}

.history-item.incorrect {
    border-left: 4px solid #e74c3c;
}

.history-match {
    margin-bottom: 10px;
}

.history-teams {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.home-team, .away-team {
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
}

.vs {
    color: #30b44c;
    font-weight: 700;
    font-size: 12px;
}

.history-date {
    color: #b3b3b3;
    font-size: 12px;
}

.history-prediction, .history-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.prediction-label, .result-label {
    color: #b3b3b3;
    font-size: 12px;
}

.prediction-value, .result-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
}

.history-status {
    text-align: right;
}

.status-correct {
    color: #27ae60;
    font-weight: 600;
    font-size: 12px;
}

.status-incorrect {
    color: #e74c3c;
    font-weight: 600;
    font-size: 12px;
}

.team-name {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.separator {
    font-size: 14px;
    color: #30b44c;
    margin: 0 10px;
    font-weight: 700;
}

/* Prediction Options */
.prediction-options {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.prediction-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 6px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 10px;
    font-weight: 600;
}

.prediction-btn:hover {
    background: rgba(39, 174, 96, 0.2);
    border-color: #27ae60;
    transform: translateY(-2px);
}

.prediction-btn.selected {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-color: #27ae60;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.prediction-btn.selected:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    transform: translateY(-1px);
}

.option-icon {
    font-size: 16px;
}

.option-text {
    font-size: 9px;
    text-align: center;
    line-height: 1.2;
}

/* Submit Section */
.submit-section {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.status-pending {
    color: #f59e0b;
    font-weight: 700;
}

/* Geçmiş Tahminler Bölümü */
.history-section {
    margin-top: 0;
    padding: 30px;
    background: transparent;
    border-radius: 12px;
    margin-bottom: 0;
    position: relative;
    top: -40px;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 0;
    margin-top: 0;
}

.history-card {
    background: linear-gradient(145deg, #2a2a3e 0%, #1a1a2e 100%);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.history-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.history-card.correct {
    border-left: 4px solid #27ae60;
}

.history-card.incorrect {
    border-left: 4px solid #e74c3c;
}

.history-card-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

 .history-teams {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 15px;
     margin-bottom: 8px;
 }
 
 .history-team {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 5px;
 }
 
 .history-team-logo {
     width: 35px;
     height: 35px;
     display: flex;
     align-items: center;
     justify-content: center;
 }
 
 .history-team-logo-img {
     width: 35px;
     height: 35px;
     object-fit: contain;
     border-radius: 50%;
 }
 
 .history-team-logo-placeholder {
     width: 35px;
     height: 35px;
     background: linear-gradient(135deg, #3498db, #2980b9);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #ffffff;
     font-weight: 700;
     font-size: 12px;
     text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
 }

.home-team, .away-team {
    font-weight: 600;
    color: #ffffff;
    font-size: 16px;
}

.vs {
    color: #30b44c;
    font-weight: 700;
    font-size: 14px;
}

.history-date {
    color: #b3b3b3;
    font-size: 12px;
    text-align: center;
}

.history-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-prediction, .history-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.prediction-label, .result-label {
    color: #b3b3b3;
    font-size: 13px;
    font-weight: 500;
}

.prediction-value, .result-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
}

.history-status {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-correct {
    color: #27ae60;
    font-weight: 600;
    font-size: 14px;
}

.status-incorrect {
    color: #e74c3c;
    font-weight: 600;
    font-size: 14px;
}

/* Responsive tasarım için */
@media (max-width: 768px) {
    .history-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .history-card {
        padding: 15px;
    }
}



/* Responsive Design */
@media (max-width: 768px) {
    
    .match-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 30px;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .top-info-boxes {
        position: relative;
        top: auto;
        right: auto;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .info-box {
        min-width: 100px;
        padding: 10px 12px;
    }
    
    .countdown-display {
        font-size: 16px;
    }
    
    .content-area {
        padding: 15px;
    }
    
    .content-wrapper {
        padding: 20px;
    }
    
    .match-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 30px;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .match-card {
        padding: 12px;
        min-height: auto;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .match-date {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .teams {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .separator {
        margin: 8px 0;
        font-size: 12px;
    }
    
    .team-logo {
        width: 35px;
        height: 35px;
    }
    
    .team-logo-img {
        width: 35px;
        height: 35px;
    }
    
    .team-logo-placeholder {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .team-name {
        font-size: 11px;
        text-align: center;
    }
    
    .prediction-options {
        flex-direction: column;
        gap: 8px;
    }
    
    .prediction-btn {
        padding: 8px 6px;
        font-size: 11px;
    }
    
    .option-icon {
        font-size: 14px;
    }
    
    .option-text {
        font-size: 9px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .page-subtitle {
        font-size: 14px;
    }
    
    .submit-section {
        margin-top: 35px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .submit-btn {
        padding: 16px 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .match-grid {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 25px;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .match-card {
        padding: 15px;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .match-date {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .teams {
        flex-direction: row;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .separator {
        margin: 0 10px;
        font-size: 14px;
    }
    
    .team-logo {
        width: 40px;
        height: 40px;
    }
    
    .team-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .team-logo-placeholder {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }
    
    .team-name {
        font-size: 12px;
        text-align: center;
    }
    
    .prediction-options {
        flex-direction: row;
        gap: 8px;
        justify-content: space-between;
    }
    
    .prediction-btn {
        padding: 10px 8px;
        font-size: 12px;
        flex: 1;
    }
    
    .option-icon {
        font-size: 16px;
    }
    
    .option-text {
        font-size: 10px;
    }
    
    .content-area {
        padding: 10px;
    }
    
    .content-wrapper {
        padding: 15px;
    }
    
    .page-title {
        font-size: 22px;
    }
    
    .page-subtitle {
        font-size: 13px;
    }
    
    .submit-section {
        margin-top: 30px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .submit-btn {
        padding: 14px 35px;
        font-size: 17px;
    }
}

@media (max-width: 360px) {
    .match-grid {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .match-card {
        padding: 12px;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .match-date {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .teams {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .separator {
        margin: 0 8px;
        font-size: 12px;
    }
    
    .team-logo {
        width: 35px;
        height: 35px;
    }
    
    .team-logo-img {
        width: 35px;
        height: 35px;
    }
    
    .team-logo-placeholder {
        width: 35px;
        height: 35px;
        font-size: 11px;
    }
    
    .team-name {
        font-size: 11px;
        text-align: center;
    }
    
    .prediction-options {
        flex-direction: row;
        gap: 6px;
        justify-content: space-between;
    }
    
    .prediction-btn {
        padding: 8px 6px;
        font-size: 11px;
        flex: 1;
    }
    
    .option-icon {
        font-size: 14px;
    }
    
    .option-text {
        font-size: 9px;
    }
    
    .content-area {
        padding: 8px;
    }
    
    .content-wrapper {
        padding: 12px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .page-subtitle {
        font-size: 12px;
    }
    
    .top-info-boxes {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .info-box {
        min-width: 80px;
        padding: 8px 10px;
        height: 45px;
    }
    
    .countdown-display {
        font-size: 14px;
    }
    
    .countdown-label {
        font-size: 9px;
    }
    
    .history-title {
        font-size: 12px;
    }
    
    .history-subtitle {
        font-size: 9px;
    }
    
    .submit-section {
        margin-top: 25px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .submit-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}
