/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header styles */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
    margin-bottom: 10px;
}

header p {
    font-size: 1.1rem;
    color: #cccccc;
    opacity: 0.8;
    margin-bottom: 30px;
}

/* Tracker grid */
.tracker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Reputation card styles */
.reputation-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #333333;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reputation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
    transition: left 0.5s ease;
}

.reputation-card:hover::before {
    left: 100%;
}

.reputation-card:hover {
    transform: translateY(-5px);
    border-color: #00ff41;
    box-shadow: 0 10px 25px rgba(0, 255, 65, 0.2);
}

.reputation-card.completed {
    border-color: #00ff41;
    background: linear-gradient(145deg, #1a2a1a 0%, #2a3a2a 100%);
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.3);
}

.faction-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.reputation-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Status indicator */
.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ff6b6b;
    transition: color 0.3s ease;
}

.reputation-card.completed .status-text {
    color: #00ff41;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ff6b6b;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.reputation-card.completed .status-dot {
    background-color: #00ff41;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

/* Quest items styles */
.quest-items {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #333333;
}

.quest-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.quest-item:last-child {
    margin-bottom: 0;
}

.quest-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #00ff41;
    cursor: pointer;
    border-radius: 3px;
}

.quest-item label {
    font-size: 0.9rem;
    color: #cccccc;
    cursor: pointer;
    transition: color 0.3s ease;
    flex: 1;
}

.quest-item input[type="checkbox"]:checked + label {
    color: #00ff41;
    text-decoration: line-through;
    opacity: 0.7;
}

.quest-item:hover label {
    color: #ffffff;
}

/* Waypoint styles */
.waypoint-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    padding-left: 24px; /* Align with the label text */
}

.location {
    font-size: 0.8rem;
    color: #888888;
    font-style: italic;
}

.copy-waypoint {
    background: linear-gradient(145deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border: none;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.copy-waypoint:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    background: linear-gradient(145deg, #357abd 0%, #2d6da3 100%);
}

.copy-waypoint:active {
    transform: translateY(0);
}

.copy-waypoint.copied {
    background: linear-gradient(145deg, #00ff41 0%, #00cc33 100%);
    box-shadow: 0 4px 12px rgba(0, 255, 65, 0.3);
}

/* Fishing daily specific styles */
.fishing-daily {
    grid-column: span 1;
}

.fishing-daily .faction-icon {
    font-size: 2.5rem;
}

/* Character Management Section */
.character-management {
    margin-bottom: 20px;
    padding: 12px 16px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 10px;
    border: 1px solid #333333;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.character-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.character-dropdown {
    position: relative;
    display: inline-block;
}

.character-dropdown select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 6px 30px 6px 10px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 140px;
    transition: all 0.3s ease;
    appearance: none;
    cursor: pointer;
}

.character-dropdown select:focus {
    outline: none;
    border-color: #00ff41;
    background: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
}

.character-dropdown select:hover {
    border-color: #00ff41;
    background: rgba(0, 255, 65, 0.05);
}

.dropdown-arrow {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #888888;
    font-size: 0.7rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.character-dropdown:hover .dropdown-arrow {
    color: #00ff41;
}

.character-dropdown select option {
    background: #2a2a2a;
    color: #ffffff;
    padding: 8px;
}

.add-character-btn {
    background: linear-gradient(145deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border: none;
    padding: 6px 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-character-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    background: linear-gradient(145deg, #357abd 0%, #2d6da3 100%);
}

.add-character-btn:active {
    transform: translateY(0);
}

.add-icon {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.remove-character-btn {
    background: linear-gradient(145deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    border: none;
    padding: 6px 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-character-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    background: linear-gradient(145deg, #ff5252 0%, #ff4444 100%);
}

.remove-character-btn:active {
    transform: translateY(0);
}

.remove-icon {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

/* Controls section */
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 15px;
    border: 2px solid #333333;
}

.reset-button {
    background: linear-gradient(145deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reset-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
    background: linear-gradient(145deg, #ff5252 0%, #ff4444 100%);
}

.reset-button:active {
    transform: translateY(0);
}

.progress-info {
    text-align: right;
}

#progress-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00ff41;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
    display: block;
    margin-bottom: 8px;
}

#cooldown-progress-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00ff41;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
    display: block;
    margin-bottom: 8px;
}

.server-time {
    font-size: 0.9rem;
    color: #cccccc;
    opacity: 0.8;
}

.server-time span:first-child {
    font-weight: 500;
}

#server-time {
    font-weight: 600;
    color: #00ff41;
    text-shadow: 0 0 3px rgba(0, 255, 65, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .tab-navigation {
        flex-direction: column;
        gap: 8px;
    }
    
    .tab-button {
        min-width: auto;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .tracker-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .controls {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .progress-info {
        text-align: center;
    }
}

/* Tab Navigation Styles */
.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0px;
    padding: 0 20px;
}

.tab-button {
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #333333;
    border-radius: 12px;
    padding: 15px 25px;
    color: #cccccc;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
    justify-content: center;
}

.tab-button:hover {
    border-color: #00ff41;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.2);
}

.tab-button.active {
    background: linear-gradient(145deg, #1a2a1a 0%, #2a3a2a 100%);
    border-color: #00ff41;
    color: #00ff41;
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.3);
}

.tab-icon {
    font-size: 1.2rem;
}





@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cooldowns Section Styles */
.cooldowns-section {
    margin-bottom: 40px;
    margin-top: 0;
}

.cooldowns-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #00ff41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #00ff41;
    padding-bottom: 15px;
}

.cooldown-category {
    margin-bottom: 40px;
}

.cooldown-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

    .cooldown-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        align-items: start;
    }

.cooldown-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #333333;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cooldown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
    transition: left 0.5s ease;
}

.cooldown-card:hover::before {
    left: 100%;
}

.cooldown-card:hover {
    transform: translateY(-3px);
    border-color: #00ff41;
    box-shadow: 0 8px 20px rgba(0, 255, 65, 0.2);
}

.cooldown-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
}

.cooldown-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 15px;
}

.cooldown-timer {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #00ff41;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
}

/* World Bosses Section Styles */
.world-bosses-section {
    margin-bottom: 40px;
    margin-top: 0;
}

.world-bosses-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #00ff41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #00ff41;
    padding-bottom: 15px;
}

.world-boss-category {
    margin-bottom: 40px;
}

.world-boss-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

.world-boss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}

.world-boss-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #333333;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.world-boss-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 69, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.world-boss-card:hover::before {
    left: 100%;
}

.world-boss-card:hover {
    transform: translateY(-3px);
    border-color: #ff4500;
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.2);
}

.world-boss-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
}

.world-boss-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 15px;
}

.world-boss-timer {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff4500;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(255, 69, 0, 0.3);
}

.world-boss-status {
    font-size: 0.8rem;
    font-weight: 500;
    color: #00ff41;
    text-shadow: 0 0 3px rgba(0, 255, 65, 0.3);
    flex-shrink: 0;
    min-width: 50px;
    text-align: center;
}

.character-item.on-cooldown .world-boss-status {
    color: #ff6b6b;
    text-shadow: 0 0 3px rgba(255, 107, 107, 0.3);
}

.character-list {
    margin-bottom: 15px;
}

.character-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.character-item:last-child {
    margin-bottom: 0;
}

.character-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.character-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #00ff41;
    cursor: pointer;
    border-radius: 3px;
    flex-shrink: 0;
}

.character-name {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #333333;
    border-radius: 5px;
    padding: 5px 8px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.character-name:focus {
    outline: none;
    border-color: #00ff41;
    background: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
}

.character-name::placeholder {
    color: #888888;
}

.cooldown-status {
    font-size: 0.8rem;
    font-weight: 500;
    color: #00ff41;
    text-shadow: 0 0 3px rgba(0, 255, 65, 0.3);
    flex-shrink: 0;
    min-width: 50px;
    text-align: center;
}

.character-item.on-cooldown .cooldown-status {
    color: #ff6b6b;
    text-shadow: 0 0 3px rgba(255, 107, 107, 0.3);
}

.add-character-btn {
    width: 100%;
    background: linear-gradient(145deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-character-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    background: linear-gradient(145deg, #357abd 0%, #2d6da3 100%);
}

.add-character-btn:active {
    transform: translateY(0);
}

/* Character item animations */
.character-item {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove character button */
.remove-character-btn {
    background: linear-gradient(145deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    border: none;
    padding: 2px 6px;
    font-size: 0.7rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.remove-character-btn:hover {
    background: linear-gradient(145deg, #ff5252 0%, #ff4444 100%);
    transform: scale(1.1);
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .reputation-card {
        padding: 20px;
    }
    
    .faction-icon {
        font-size: 2.5rem;
    }
    
    .reputation-card h3 {
        font-size: 1.1rem;
    }
}

/* Custom Popup Styles */
.custom-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.custom-popup.show {
    display: flex;
}

.popup-content {
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #333333;
    border-radius: 15px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease-out;
}

.popup-header {
    background: linear-gradient(145deg, #333333 0%, #2a2a2a 100%);
    padding: 20px 25px 15px 25px;
    border-radius: 13px 13px 0 0;
    border-bottom: 1px solid #444444;
}

.popup-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.popup-body {
    padding: 25px;
    text-align: center;
}

.popup-body p {
    margin: 0;
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.5;
}

.popup-actions {
    padding: 15px 25px 25px 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.popup-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.popup-btn-primary {
    background: linear-gradient(145deg, #4a90e2 0%, #357abd 100%);
    color: white;
}

.popup-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    background: linear-gradient(145deg, #357abd 0%, #2d6da3 100%);
}

.popup-btn-secondary {
    background: linear-gradient(145deg, #666666 0%, #555555 100%);
    color: white;
}

.popup-btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 102, 102, 0.3);
    background: linear-gradient(145deg, #555555 0%, #444444 100%);
}

.popup-btn:active {
    transform: translateY(0);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
} 