body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3f 100%);
    /* Deep Green Gradient */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(5px);
    transition: max-width 0.3s ease-in-out;
}

.container.wide {
    max-width: 1200px;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #1a472a;
}

tr:hover {
    background-color: #f1f1f1;
}

.logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

#app-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 10px;
}

h1 {
    color: #1a472a;
    /* Deep Green */
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #1a472a;
    color: white;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #143620;
}

.btn-secondary {
    background-color: #fff;
    color: #1a472a;
    border: 2px solid #1a472a;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #f0f5f2;
}

h1,
h2,
h3,
h4 {
    text-align: center;
    color: #333;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1rem;
}

input,
select,
button {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 5px;
}

button:hover {
    background-color: #0056b3;
}

.card {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-group {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-group button {
    flex: 1;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

li:last-child {
    border-bottom: none;
}

#auth-message {
    text-align: center;
    margin-top: 10px;
}

.success {
    color: green;
}

.error {
    color: red;
}

/* Password Requirements */
#password-requirements,
#reset-password-requirements {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 5px;
    margin-top: 10px;
    border: 1px solid #e0e0e0;
}

#password-requirements p,
#reset-password-requirements p {
    margin: 0 0 8px 0;
    font-size: 0.9em;
    font-weight: bold;
    color: #333;
}

#password-requirements ul,
#reset-password-requirements ul {
    margin: 0;
    padding-left: 20px;
    font-size: 0.85em;
    color: #666;
}

#password-requirements li,
#reset-password-requirements li {
    display: list-item;
    padding: 0;
    border: none;
    background: none;
    margin-bottom: 3px;
}

#password-requirements li:last-child,
#reset-password-requirements li:last-child {
    margin-bottom: 0;
}

/* License Badges */
.license-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 8px;
}

.license-badge.pro {
    background-color: #ffd700;
    color: #333;
}

.license-badge.free {
    background-color: #6c757d;
    color: white;
}

/* Course Search */
.course-results {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
    background-color: white;
}

.course-result {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.course-result:hover {
    background-color: #f0f2f5;
}

.course-result:last-child {
    border-bottom: none;
}

.course-result strong {
    display: block;
    color: #333;
}

.course-result small {
    color: #666;
}

.no-results {
    padding: 10px;
    text-align: center;
    color: #999;
}

/* Upgrade Prompt */
.upgrade-prompt {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.upgrade-prompt p {
    margin: 0;
}

.upgrade-prompt strong {
    color: #ffd700;
}

/* Stats Table */
.table-container {
    overflow-x: auto;
    margin: 15px 0;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background-color: white;
}

.stats-table thead {
    background-color: #007bff;
    color: white;
}

.stats-table th,
.stats-table td {
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.stats-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.stats-table tbody tr:hover {
    background-color: #f0f2f5;
}

/* Score color coding */
.stats-table .birdie {
    background-color: #d4edda;
    color: #155724;
    font-weight: bold;
}

.stats-table .par {
    background-color: #fff3cd;
    color: #856404;
}

.stats-table .bogey {
    background-color: #f8d7da;
    color: #721c24;
}

.stats-summary {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.stats-summary p {
    margin: 5px 0;
}