.ntl-score-submit {
    max-width: 960px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
.ntl-score-submit h2 {
    margin-top: 0;
}
.ntl-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border-left: 4px solid;
}
.ntl-success {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}
.ntl-success-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}
.ntl-success-icon {
    font-size: 2rem;
    background: #10b981;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ntl-success-content {
    flex: 1;
}
.ntl-warning {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}
.ntl-error {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}
.ntl-error ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}
.ntl-field-group {
    margin-bottom: 1rem;
}
.ntl-field-group label {
    display: block;
    margin-bottom: 0.25rem;
}
.ntl-field-group small {
    display: block;
    color: #6b7280;
    font-size: 12px;
}
.ntl-venue-input {
    width: 100%;
    font-size: 16px;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    background-color: #ffffff;
}
.ntl-venue-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.ntl-venue-input::placeholder {
    color: #9ca3af;
}
.ntl-teams-wrapper {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ntl-team-row {
    padding: 0.75rem;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}
.ntl-team-row.ntl-team-warn {
    border-left: 4px solid #f97316;
    background: #fff7ed;
}
.ntl-team-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.ntl-team-code {
    font-size: 12px;
    color: #4b5563;
}
.ntl-team-league-warning {
    display: none;
    font-size: 12px;
    color: #b45309;
    font-weight: 600;
}
.ntl-team-row.ntl-team-warn .ntl-team-league-warning {
    display: inline-block;
}
.ntl-team-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.ntl-field {
    flex: 1 1 220px;
}
.ntl-field label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}
.ntl-field input,
.ntl-field select {
    width: 100%;
    max-width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
}
.ntl-registered-name {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-top: 0.25rem;
}
.ntl-submit-wrap {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.ntl-submit-wrap small {
    color: #6b7280;
    font-size: 12px;
}
.ntl-submit-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    min-width: 200px;
}
.ntl-submit-btn:hover:not(:disabled) {
    background: #1d4ed8;
}
.ntl-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.ntl-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: ntl-spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 4px;
}
@keyframes ntl-spin {
    to { transform: rotate(360deg); }
}
.ntl-add-team-wrap {
    margin-top: 1rem;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 6px;
    text-align: center;
}
.ntl-add-team-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.ntl-add-team-btn:hover {
    background: #059669;
}
.ntl-add-team-wrap small {
    display: block;
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 12px;
}
.ntl-team-remove {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    margin-left: auto;
}
.ntl-team-remove:hover {
    background: #dc2626;
}

/* Team suggestion styles */
.ntl-team-suggestion {
    display: none;
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 13px;
}
.ntl-team-row.ntl-team-warn .ntl-team-suggestion {
    display: block;
}
.ntl-suggestion-auto {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}
.ntl-suggestion-confirm {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
}
.ntl-suggestion-suspicious {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}
.ntl-suggestion-multiple {
    background: #e0e7ff;
    border: 1px solid #6366f1;
    color: #3730a3;
}
.ntl-suggestion-notfound {
    background: #f3f4f6;
    border: 1px solid #9ca3af;
    color: #374151;
}
.ntl-suggestion-btn {
    display: inline-block;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}
.ntl-suggestion-btn-accept {
    background: #10b981;
    color: white;
}
.ntl-suggestion-btn-accept:hover {
    background: #059669;
}
.ntl-suggestion-btn-decline {
    background: #6b7280;
    color: white;
}
.ntl-suggestion-btn-decline:hover {
    background: #4b5563;
}
.ntl-suggestion-btn-search {
    background: #3b82f6;
    color: white;
}
.ntl-suggestion-btn-search:hover {
    background: #2563eb;
}
.ntl-team-corrected {
    border-left: 4px solid #10b981 !important;
    background: #ecfdf5 !important;
}
.ntl-team-corrected .ntl-team-league-warning {
    display: none !important;
}
.ntl-correction-notice {
    display: none;
    font-size: 12px;
    color: #065f46;
    font-weight: 600;
}
.ntl-team-corrected .ntl-correction-notice {
    display: inline-block;
}
.ntl-team-search-wrap {
    margin-top: 0.5rem;
}
.ntl-team-search-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 13px;
}
.ntl-team-search-results {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: white;
}
.ntl-team-search-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
}
.ntl-team-search-item:last-child {
    border-bottom: none;
}
.ntl-team-search-item:hover {
    background: #f3f4f6;
}
.ntl-team-search-item-code {
    font-weight: 600;
    color: #374151;
}
.ntl-team-search-item-name {
    color: #374151;
}
.ntl-team-search-item-venue {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

/* Modal Styles */
.ntl-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.ntl-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.ntl-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.ntl-modal-warning {
    border-top: 4px solid #f59e0b;
}
.ntl-modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ntl-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}
.ntl-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    line-height: 1;
}
.ntl-modal-close:hover {
    color: #374151;
}
.ntl-modal-body {
    padding: 1.5rem;
}
.ntl-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background: #f9fafb;
    border-radius: 0 0 12px 12px;
}
.ntl-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s, opacity 0.2s;
}
.ntl-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.ntl-btn-primary {
    background: #2563eb;
    color: white;
}
.ntl-btn-primary:hover:not(:disabled) {
    background: #1d4ed8;
}
.ntl-btn-secondary {
    background: #e5e7eb;
    color: #374151;
}
.ntl-btn-secondary:hover:not(:disabled) {
    background: #d1d5db;
}
.ntl-btn-warning {
    background: #f59e0b;
    color: white;
}
.ntl-btn-warning:hover:not(:disabled) {
    background: #d97706;
}
.ntl-confirm-details {
    background: #f3f4f6;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}
.ntl-confirm-details p {
    margin: 0.25rem 0;
}
.ntl-confirm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.ntl-confirm-table th,
.ntl-confirm-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}
.ntl-confirm-table th {
    background: #f9fafb;
    font-weight: 600;
}
.ntl-confirm-table tbody tr:last-child td {
    border-bottom: none;
}
.ntl-duplicate-intro {
    font-size: 15px;
    margin-bottom: 1rem;
}
.ntl-change-request-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}
.ntl-change-request-section textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
}
.ntl-score-changed {
    color: #dc2626;
    font-weight: 600;
}
.ntl-score-same {
    color: #059669;
}

.ntl-score-submit {
    max-width: 960px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
.ntl-score-submit h2 {
    margin-top: 0;
}
.ntl-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border-left: 4px solid;
}
.ntl-success {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}
.ntl-error {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}
.ntl-error ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}
.ntl-field-group {
    margin-bottom: 1rem;
}
.ntl-field-group label {
    display: block;
    margin-bottom: 0.25rem;
}
.ntl-field-group small {
    display: block;
    color: #6b7280;
    font-size: 12px;
}
.ntl-venue-input {
    width: 100%;
    font-size: 16px;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    background-color: #ffffff;
}
.ntl-venue-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.ntl-venue-input::placeholder {
    color: #9ca3af;
}
.ntl-teams-wrapper {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ntl-team-row {
    padding: 0.75rem;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}
.ntl-team-row.ntl-team-warn {
    border-left: 4px solid #f97316;
    background: #fff7ed;
}
.ntl-team-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.ntl-team-code {
    font-size: 12px;
    color: #4b5563;
}
.ntl-team-league-warning {
    display: none;
    font-size: 12px;
    color: #b45309;
    font-weight: 600;
}
.ntl-team-row.ntl-team-warn .ntl-team-league-warning {
    display: inline-block;
}
.ntl-team-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.ntl-field {
    flex: 1 1 220px;
}
.ntl-field label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}
.ntl-field input,
.ntl-field select {
    width: 100%;
    max-width: 100%;
}
.ntl-registered-name {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-top: 0.25rem;
}
.ntl-submit-wrap {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.ntl-submit-wrap small {
    color: #6b7280;
    font-size: 12px;
}
.ntl-add-team-wrap {
    margin-top: 1rem;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 6px;
    text-align: center;
}
.ntl-add-team-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.ntl-add-team-btn:hover {
    background: #059669;
}
.ntl-add-team-wrap small {
    display: block;
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 12px;
}
.ntl-team-remove {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    margin-left: auto;
}
.ntl-team-remove:hover {
    background: #dc2626;
}

/* Team suggestion styles */
.ntl-team-suggestion {
    display: none;
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 13px;
}
.ntl-team-row.ntl-team-warn .ntl-team-suggestion {
    display: block;
}
.ntl-suggestion-auto {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}
.ntl-suggestion-confirm {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
}
.ntl-suggestion-suspicious {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}
.ntl-suggestion-multiple {
    background: #e0e7ff;
    border: 1px solid #6366f1;
    color: #3730a3;
}
.ntl-suggestion-notfound {
    background: #f3f4f6;
    border: 1px solid #9ca3af;
    color: #374151;
}
.ntl-suggestion-btn {
    display: inline-block;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}
.ntl-suggestion-btn-accept {
    background: #10b981;
    color: white;
}
.ntl-suggestion-btn-accept:hover {
    background: #059669;
}
.ntl-suggestion-btn-decline {
    background: #6b7280;
    color: white;
}
.ntl-suggestion-btn-decline:hover {
    background: #4b5563;
}
.ntl-suggestion-btn-search {
    background: #3b82f6;
    color: white;
}
.ntl-suggestion-btn-search:hover {
    background: #2563eb;
}
.ntl-team-corrected {
    border-left: 4px solid #10b981 !important;
    background: #ecfdf5 !important;
}
.ntl-team-corrected .ntl-team-league-warning {
    display: none !important;
}
.ntl-correction-notice {
    display: none;
    font-size: 12px;
    color: #065f46;
    font-weight: 600;
}
.ntl-team-corrected .ntl-correction-notice {
    display: inline-block;
}
.ntl-team-search-wrap {
    margin-top: 0.5rem;
}
.ntl-team-search-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 13px;
}
.ntl-team-search-results {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: white;
}
.ntl-team-search-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
}
.ntl-team-search-item:last-child {
    border-bottom: none;
}
.ntl-team-search-item:hover {
    background: #f3f4f6;
}
.ntl-team-search-item-code {
    font-weight: 600;
    color: #374151;
}
.ntl-team-search-item-name {
    color: #374151;
}
.ntl-team-search-item-venue {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

/* Advanced change request modal */
.ntl-modal-large {
    max-width: 800px;
}

.ntl-change-request-table-wrap {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.ntl-change-request-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ntl-change-request-table th,
.ntl-change-request-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.ntl-change-request-table th {
    background: #f9fafb;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.ntl-action-select {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 13px;
    min-width: 120px;
}

.ntl-new-team-row {
    background: #f0fdf4;
}

.ntl-new-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.ntl-add-missing-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 6px;
}

.ntl-add-missing-section h4 {
    margin: 0 0 0.5rem 0;
}

.ntl-add-missing-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.ntl-add-missing-field {
    flex: 1;
    min-width: 150px;
    position: relative;
}

.ntl-add-missing-field label {
    display: block;
    font-size: 12px;
    margin-bottom: 0.25rem;
}

.ntl-add-missing-field input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

.ntl-add-missing-btn-wrap {
    flex: 0 0 auto;
    min-width: auto;
}

.ntl-btn-small {
    padding: 0.5rem 1rem;
    font-size: 13px;
}

.ntl-add-missing-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.ntl-add-missing-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
}

.ntl-add-missing-item:hover {
    background: #f3f4f6;
}

.ntl-added-teams {
    margin-top: 1rem;
}

.ntl-added-teams-list ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.ntl-added-teams-list li {
    margin: 0.25rem 0;
}

.ntl-remove-added {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0 0.4rem;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 0.5rem;
    font-size: 11px;
}

.ntl-change-request-notes {
    margin-top: 1rem;
}

.ntl-change-request-notes textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
}
/* Max score validation */
.ntl-score-over-max {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}
.ntl-score-max-warning {
    color: #dc2626;
    font-size: 12px;
    margin-top: 0.25rem;
    font-weight: 500;
    line-height: 1.3;
}