body { font-family: 'Formula1', sans-serif; background-color: #f4f4f4; margin: 0; padding: 0; } .navbar { background-color: transparent; color: #333; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 50px; box-sizing: border-box; } .navbar-logo { height: 40px; margin-right: 15px; } .navbar .navbar-logo:first-child { height: 60px; } .navbar h1 { margin: 0; font-size: 24px; color: #333; line-height: 1.2; text-align: center; } .container { margin: 0 auto; background-color: white; padding: 0 15px 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); min-height: 100vh; height: 100vh; } .back-link { display: block; text-align: left; margin-bottom: 20px; color: #3498db; text-decoration: none; } .back-link:hover { text-decoration: underline; } .match-info { margin-bottom: 30px; } .group-date { text-align: left; margin-bottom: 20px; } .group-date h2 { margin: 0 0 10px 0; font-size: 30px; } .group-date p { margin: 0; color: #666; } .teams-vs { display: flex; align-items: center; justify-content: left; margin: 20px 0; } .team { display: flex; align-items: center; margin: 0 10px 0 0; } .team-logo { font-size: 24px; margin-right: 10px; } .team-name { font-size: 18px; font-weight: bold; } .vs { font-size: 20px; font-weight: bold; color: #333; margin: 0 10px; } .score-container { width: 100%; margin: 0; text-align: center; display: flex; flex-direction: column; border: 1px solid #ddd; } .score-row { display: flex; width: 100%; align-items: center; } .score-row.header { background-color: #333; color: white; } .score-cell { flex: 1; padding: 15px; text-align: center; cursor: pointer; transition: background-color 0.2s ease; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; min-height: 60px; min-width: 60px; box-sizing: border-box; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; } .score-row .score-cell:last-child { border-right: none; } .score-row:last-child .score-cell { border-bottom: none; } .score-row.header .score-cell { aspect-ratio: auto; min-height: 40px; min-width: auto; font-weight: bold; text-align: center; cursor: default; } .score-row.header .score-cell:hover { background-color: transparent; } .score-container .score-row:not(.header) .score-cell { font-size: 50px !important; font-weight: bold; } .score-container.penalty-score .score-row:not(.header) .score-cell { color: red; } .notes-section { margin-top: 30px; text-align: center; } .notes-section textarea { width: 90%; padding: 10px; height: 100px; margin-top: 10px; resize: vertical; display: inline-block; box-sizing: border-box; } .submit-btn { display: block; margin: 30px auto; background-color: #3498db; color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; font-size: 16px; } .submit-btn:hover { background-color: #2980b9; } @media (max-width: 768px) { .score-container { font-size: 14px; width: 100%; margin: 0; } .score-cell { padding: 10px; min-height: 35px; } .container { padding-top: 0; } } @media (max-width: 480px) { .score-container { font-size: 12px; width: 100%; margin: 0; } .score-cell { padding: 8px; min-height: 30px; } .score-row { display: grid; grid-template-columns: repeat(4, 1fr); } } .success-message { text-align: center; padding: 40px 20px; margin: 20px auto; max-width: 500px; color: #333; } .success-message h2 { margin-bottom: 20px; } .success-message p { margin: 10px 0; font-size: 16px; } .error-message { text-align: center; padding: 40px 20px; margin: 20px auto; max-width: 500px; background-color: #f8d7da; border: 1px solid #f5c6cb; border-radius: 8px; color: #721c24; } .error-message h2 { margin-bottom: 20px; } .error-message p { margin: 10px 0; font-size: 16px; } .btn { display: inline-flex; align-items: center; justify-content: center; margin: 0 5px; padding: 10px 20px; background-color: transparent; color: #e0e0e0; text-decoration: none; border: none; border-radius: 0 !important; transition: none; box-sizing: border-box; cursor: pointer; border-bottom: 2px solid #2a2a2a; } .btn:hover { border-bottom: 2px solid white !important; } .btn { display: inline-flex; align-items: center; justify-content: center; } .dropdown-menu .btn { display: block; text-align: center; border-bottom: 2px solid #333333; } .dropdown-menu .btn:hover { border-bottom: 2px solid white !important; } .team-card { filter: brightness(1); border: 1px solid #333333; } .team-card:hover { filter: brightness(1); } @media (max-width: 768px) { .success-message, .error-message { padding: 20px 15px; margin: 10px; max-width: 100%; } .success-message h2, .error-message h2 { font-size: 20px; margin-bottom: 15px; } .success-message p, .error-message p { font-size: 14px; } .btn { display: block; margin: 10px auto; text-align: center; width: 80%; max-width: 200px; } }
body { font-family: 'Formula1', sans-serif; background-color: #f4f4f4; margin: 0; padding: 0; } .navbar { background-color: transparent; color: #333; padding: 0 20px; display: flex; align-items: center; justify-content: flex-start; height: 3.125rem; box-sizing: border-box; } .navbar-logo { height: 2.5rem; margin-right: 15px; } .navbar .navbar-logo:first-child { height: 3.75rem; } .navbar h1 { margin: 0; font-size: 1.5rem; line-height: 1.2; text-align: center; } .container { margin: 0 auto; background-color: white; padding: 0 30px; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); min-height: 100vh; height: 100vh; } .content { text-align: center; padding: 40px 0; } .content h2 { color: #333; margin-bottom: 20px; } .content p { color: #666; margin-bottom: 30px; } .btn { background-color: #3498db; color: white; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-size: 0.875rem; text-decoration: none; display: inline-block; } .btn:hover { background-color: #2980b9; } .admin-btn { background-color: #9b59b6; margin-left: 10px; } .admin-btn:hover { background-color: #8e44ad; } .score-list-hidden { display: none; } .group-scores-hidden { display: none; } .toggle-arrow { cursor: pointer; font-size: 0.75rem; color: #666; font-weight: bold; } .group-arrow { cursor: pointer; font-size: 0.75rem; color: #666; } @media (max-width: 768px) { .container { padding: 0 15px; } .content { padding: 20px 0; } .btn-container { display: flex; flex-direction: row; gap: 10px; justify-content: center; overflow-x: auto; padding-bottom: 10px; white-space: nowrap; } .btn { width: auto; max-width: none; } .match-info h3 { font-size: 1rem; } .match-info p { font-size: 0.75rem; } table { font-size: 0.75rem; } table th, table td { padding: 8px; } }
.match-results { margin-top: 30px; } .match-card { background-color: white; border: 1px solid #ddd; border-radius: 16px; padding: 12px; margin: 0 0 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1); position: relative; overflow: hidden; } .match-info { margin: 0; position: relative; z-index: 1; } .match-info h3 { margin: 0 0 3px 0; color: #333; display: flex; align-items: center; gap: 8px; font-size: 16px; } .match-info p { margin: 0; color: #666; font-size: 12px; line-height: 1.3; } .score-list { margin: 8px 0 0 0; position: relative; z-index: 1; background: transparent; } .score-item { background-color: rgba(255, 255, 255, 0.8); border: 1px solid #ddd; border-radius: 8px; padding: 8px; margin: 0; } .score-header { font-weight: bold; margin-bottom: 5px; } .score-details { display: flex; justify-content: center; align-items: center; margin-top: 3px; gap: 20px; } .team-score { flex: 1; max-width: 300px; text-align: center; } .team-name { font-weight: bold; margin-bottom: 3px; font-size: 15px; } .score-value { font-size: 16px; font-weight: bold; color: #333; } .vs { margin: 0 8px; align-self: center; color: #666; font-size: 14px; } .no-scores { color: #999; font-style: italic; text-align: center; padding: 20px; } .btn { padding: 8px 16px; border: none; border-radius: 8px; background-color: transparent; color: #333; cursor: pointer; font-size: 14px; white-space: nowrap; font-family: 'Formula1', sans-serif; } @media (max-width: 768px) { .btn { padding: 6px 12px; font-size: 12px; } div[style*="flex-wrap: nowrap"] { overflow-x: auto; padding-bottom: 5px; } } .match-status { padding: 3px 10px; border-radius: 8px; font-size: 12px; font-weight: bold; color: white; } .status-completed { background-color: #6c757d; color: #fff; border: 1px solid #5a6268; } .status-active { background-color: #ffc107; color: #212529; border: 1px solid #ffca28; } .status-pending { background-color: #28a745; color: #fff; border: 1px solid #218838; } .group-container { margin-bottom: 15px; padding: 10px; background-color: rgba(249, 249, 249, 0.8); border-radius: 12px; border-left: 4px solid #4CAF50; } .group-header { cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 0; height: 20px; min-height: 20px; } .group-header h4 { margin: 0; color: #333; font-size: 12px; line-height: 1; font-weight: 600; } .group-arrow { font-size: 8px; color: #666; line-height: 1; margin-left: 10px; } .group-scores { margin-top: 8px; padding: 5px 0; } .toggle-arrow { text-align: center; margin-top: 5px; font-size: 12px; color: #666; font-weight: bold; } table { width: 100%; max-width: 1200px; border-collapse: collapse; margin-top: 10px; background: transparent; } th, td { padding: 8px; text-align: center; border-bottom: 1px solid #ddd; background: transparent; } th { background: transparent; } .btn-container { margin-top: 20px; margin-bottom: 20px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: nowrap; } .score-list { display: flex; justify-content: center; overflow-x: auto; } #view-detail .score-list { display: flex; flex-direction: column; justify-content: center; overflow-x: auto; } #view-detail .score-list.score-list-hidden { display: none; } .score-item { margin-bottom: 10px; } .score-item > div:first-child { font-weight: bold; margin-bottom: 6px; font-size: 14px; } .score-item > div:last-child { font-size: 11px; color: #666; margin-top: 3px; } .loading { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.8); display: flex; justify-content: center; align-items: center; z-index: 9999; } .loading-content { font-size: 18px; color: #4CAF50; } .error-message { padding: 10px; background-color: #f44336; color: white; text-align: center; margin-bottom: 20px; }
