/* Base Styles */
:root {
    --primary-color: #D4AC0D;
    --secondary-color: #8D8741;
    --tertiary-color: #659DBD;
    --accent-color: #DAAD86;
    --light-color: #FBEEC1;
    --dark-color: #333;
    --gray-color: #666;
    --light-gray: #eee;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --info-color: #3498db;
    
    --header-height: 60px;
    --footer-height: 50px;
    --sidebar-width: 250px;
    
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: var(--tertiary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.5rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    width: 100%;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--tertiary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

/* Layout */
.app-header {
    background-color: var(--secondary-color);
    color: white;
    height: var(--header-height);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.app-main {
    flex: 1;
    padding-top: var(--header-height);
    padding-bottom: var(--footer-height);
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.app-footer {
    background-color: var(--secondary-color);
    color: white;
    height: var(--footer-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
}

.app-footer a {
    color: var(--light-color);
}

.app-footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Header Components */
.logo-container {
    display: flex;
    align-items: center;
}

.app-title {
    font-size: 1.5rem;
    margin: 0;
    margin-right: 0.5rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link i {
    font-size: 1.2rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-level {
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content */
.app-view {
    display: none;
    padding: 1.5rem;
}

.app-view.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Dashboard */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

.character-panel {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.character-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.character-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-info {
    flex: 1;
}

.level-info {
    margin-top: 0.5rem;
}

.xp-bar {
    height: 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.xp-progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.xp-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-weight: bold;
    font-size: 0.8rem;
}

.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.widget {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
}

.widget h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 0.5rem;
}

.quests-list {
    margin-bottom: 1rem;
}

.quest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    background-color: var(--light-gray);
    transition: var(--transition);
}

.quest-daily {
    border-left: 4px solid var(--info-color);
}

.quest-epic {
    border-left: 4px solid var(--warning-color);
}

.quest-random {
    border-left: 4px solid var(--danger-color);
}

.quest-completed {
    opacity: 0.6;
}

.quest-info {
    flex: 1;
}

.quest-info h4 {
    margin-bottom: 0.25rem;
}

.quest-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-complete {
    background-color: var(--success-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-complete:hover {
    background-color: #27ae60;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1rem;
    text-align: center;
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--tertiary-color);
}

.skill-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cooldown-indicator {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
}

.cooldown-indicator.ready {
    background-color: var(--success-color);
    color: white;
}

.cooldown-indicator.cooldown {
    background-color: var(--danger-color);
    color: white;
}

.widget-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: var(--tertiary-color);
    font-weight: bold;
}

.dashboard-charts {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
}

.chart-container {
    height: 300px;
}

/* Quests View */
.quests-container {
    max-width: 1200px;
    margin: 0 auto;
}

.quests-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1rem;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.filter-select {
    width: 100%;
}

.search-group {
    flex: 2;
    min-width: 300px;
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
}

.btn-search {
    background-color: var(--tertiary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
}

.btn-search:hover {
    background-color: #5889a3;
}

.quests-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: bold;
    color: var(--gray-color);
}

.tab-btn:hover {
    background-color: var(--light-gray);
}

.tab-btn.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.quest-list {
    display: none;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.quest-list.active {
    display: block;
}

.quest-list h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 0.5rem;
}

/* Skills View */
.skills-container {
    max-width: 1200px;
    margin: 0 auto;
}

.active-skill-panel {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.active-skill-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.active-skill-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.active-skill-icon {
    font-size: 2.5rem;
    color: var(--tertiary-color);
}

.active-skill-details h4 {
    margin-bottom: 0.25rem;
}

.active-skill-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.timer-display {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.timer-controls {
    display: flex;
    gap: 0.5rem;
}

.btn-timer {
    background-color: var(--tertiary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.btn-timer:hover {
    background-color: #5889a3;
}

.btn-timer:disabled {
    background-color: var(--light-gray);
    color: var(--gray-color);
    cursor: not-allowed;
}

/* Inventory View */
.inventory-container {
    max-width: 1200px;
    margin: 0 auto;
}

.inventory-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
}

.stat-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.inventory-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.inventory-list {
    display: none;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
}

.inventory-list.active {
    display: block;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.inventory-item {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.inventory-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.item-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--tertiary-color);
}

.item-name {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.item-quantity {
    font-size: 0.8rem;
    color: var(--gray-color);
}

/* Guild View */
.guild-container {
    max-width: 1200px;
    margin: 0 auto;
}

.guild-banner {
    position: relative;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.guild-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guild-name-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}

.guild-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1rem;
}

.guild-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.guild-tab {
    display: none;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
}

.guild-tab.active {
    display: block;
}

.members-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    flex: 1;
}

.member-name {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.member-role {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.guild-quests-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guild-quests-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.guild-quest-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: var(--transition);
}

.guild-quest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.quest-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.quest-progress {
    margin-top: 0.5rem;
}

.progress-bar {
    height: 10px;
    background-color: white;
    border-radius: 5px;
    margin-top: 0.25rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--success-color);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 500px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.chat-message {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.message-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-sender {
    font-weight: bold;
}

.message-time {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.message-content {
    background-color: white;
    padding: 0.75rem;
    border-radius: var(--border-radius);
}

.chat-input {
    display: flex;
    gap: 0.5rem;
}

.leaderboard-container {
    padding: 1rem;
}

.leaderboard-list {
    margin-top: 1rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
}

.leaderboard-rank {
    font-size: 1.5rem;
    font-weight: bold;
    width: 40px;
    text-align: center;
}

.leaderboard-guild {
    flex: 1;
    margin-left: 1rem;
}

.leaderboard-guild-name {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.leaderboard-stats {
    display: flex;
    gap: 1rem;
}

/* Calendar View */
.calendar-container {
    max-width: 1200px;
    margin: 0 auto;
}

.calendar-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-icon {
    background-color: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--tertiary-color);
}

.btn-icon:hover {
    color: var(--primary-color);
}

.view-toggle {
    display: flex;
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.view-btn {
    flex: 1;
    padding: 0.75rem;
    background-color: transparent;
    border: none;
    font-weight: bold;
    color: var(--gray-color);
}

.view-btn:hover {
    background-color: var(--light-gray);
}

.view-btn.active {
    background-color: var(--tertiary-color);
    color: white;
}

.calendar-view {
    display: none;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
}

.calendar-view.active {
    display: block;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0.5rem;
}

.weekday {
    text-align: center;
    font-weight: bold;
    padding: 0.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 0.5rem;
}

.calendar-day {
    border: 1px solid var(--light-gray);
    padding: 0.5rem;
    min-height: 100px;
    position: relative;
}

.calendar-day.other-month {
    background-color: #f9f9f9;
    color: var(--gray-color);
}

.calendar-day.today {
    background-color: rgba(101, 157, 189, 0.1);
    border-color: var(--tertiary-color);
}

.day-number {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.day-event {
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.day-event.event-daily {
    background-color: rgba(52, 152, 219, 0.2);
    border-left: 3px solid var(--info-color);
}

.day-event.event-epic {
    background-color: rgba(243, 156, 18, 0.2);
    border-left: 3px solid var(--warning-color);
}

.day-event.event-random {
    background-color: rgba(231, 76, 60, 0.2);
    border-left: 3px solid var(--danger-color);
}

.week-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 1rem;
}

.week-day {
    text-align: center;
    padding: 0.5rem;
}

.week-day-name {
    font-weight: bold;
}

.week-day-number {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.week-day.today {
    background-color: rgba(101, 157, 189, 0.1);
    border-radius: var(--border-radius);
}

.week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: minmax(50px, auto);
    gap: 0.5rem;
}

.week-hour-cell {
    border: 1px solid var(--light-gray);
    padding: 0.25rem;
    min-height: 50px;
}

.week-event {
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    cursor: pointer;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-color);
}

.close-modal:hover {
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.icon-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.icon-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    cursor: pointer;
}

.icon-option:hover {
    background-color: var(--light-gray);
}

.icon-option.selected {
    background-color: var(--tertiary-color);
    color: white;
}

.icon-option i {
    font-size: 1.5rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--tertiary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: bold;
}

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

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--dark-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: bold;
}

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

.btn-danger {
    background-color: var(--danger-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: bold;
}

.btn-danger:hover {
    background-color: #c0392b;
}

/* Notifications */
.notification-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
}

.notification {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: slideIn 0.3s ease-out;
}

.notification-icon {
    font-size: 1.5rem;
}

.notification-success .notification-icon {
    color: var(--success-color);
}

.notification-warning .notification-icon {
    color: var(--warning-color);
}

.notification-error .notification-icon {
    color: var(--danger-color);
}

.notification-info .notification-icon {
    color: var(--info-color);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.notification-close {
    background: transparent;
    border: none;
    color: var(--gray-color);
    font-size: 1rem;
    cursor: pointer;
}

.notification-close:hover {
    color: var(--dark-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .app-header {
        padding: 0 1rem;
    }

    .logo-container {
        flex: 1;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--secondary-color);
        flex-direction: column;
        padding: 1rem;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 99;
    }

    .nav-links.show {
        transform: translateY(0);
    }

    .nav-link {
        padding: 1rem;
    }

    .dashboard-widgets {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .active-skill-container {
        flex-direction: column;
        text-align: center;
    }

    .inventory-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .members-list {
        grid-template-columns: 1fr;
    }

    .guild-quests-list {
        grid-template-columns: 1fr;
    }

    .calendar-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .calendar-day {
        min-height: auto;
    }

    .week-header,
    .week-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .week-day {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions button {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .dashboard-widgets {
        grid-template-columns: repeat(2, 1fr);
    }

    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
    }

    .calendar-day {
        min-height: 80px;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.text-left {
    text-align: left;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

.hidden {
    display: none !important;
}
