/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 50%, #e17055 100%);
    min-height: 100vh;
    color: #2d3436;
}

/* Screen Management */
.screen {
    display: none;
    min-height: 100vh;
}

.screen.active {
    display: block;
}


/* Login Screen */
.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.login-header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.chick-emoji, .bear-emoji {
    animation: bounce 2s infinite;
}

.heart {
    animation: pulse 1.5s infinite;
    color: #e84393;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

.login-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.login-header p {
    font-size: 1.2rem;
    color: #636e72;
    font-weight: 400;
}

.login-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
    margin-bottom: 2rem;
}

.login-form input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 15px;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.login-form input:focus {
    outline: none;
    border-color: #e84393;
    box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.1);
}

.login-form button {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #e84393, #fd79a8);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(232, 67, 147, 0.3);
}

.error-message {
    color: #e17055;
    text-align: center;
    margin-top: 1rem;
    font-weight: 500;
}

.login-hints {
    text-align: center;
    color: #636e72;
    font-size: 0.9rem;
}

.login-hints p {
    margin: 0.5rem 0;
}

/* Dashboard Styles */
.dashboard {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 30%, #e17055 100%);
    min-height: 100vh;
}

/* Civciv Dashboard - Pink Theme */
#civcivDashboard {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 25%, #fecfef 50%, #ff9a9e 75%, #fad0c4 100%);
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 25%, #fecfef 50%, #ff9a9e 75%, #fad0c4 100%);
    }
    50% {
        background: linear-gradient(135deg, #fad0c4 0%, #ff9a9e 25%, #fecfef 50%, #fecfef 75%, #ff9a9e 100%);
    }
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

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

.user-avatar {
    font-size: 2.5rem;
}

.user-info h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3436;
}

.logout-btn {
    background: #e17055;
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.logout-btn:hover {
    background: #d63031;
    transform: translateY(-2px);
}

.dashboard-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Widget Styles */
.widget {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.widget:hover::before {
    left: 100%;
}

.widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Priority Widget */
.priority-widget {
    order: -1;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,182,193,0.3));
    border: 2px solid rgba(255,105,180,0.3);
}

.widget h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget h3 i {
    color: #e84393;
}

/* Longing Counter */
.longing-counter {
    grid-column: 1 / -1;
    text-align: center;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #e84393, #fd79a8);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    min-width: 100px;
}

.time-unit .number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.time-unit .label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Virtual Pet */
.pet-container {
    text-align: center;
}

.pet-avatar {
    margin-bottom: 1.5rem;
}

.pet-avatar span {
    font-size: 4rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: petBounce 3s ease-in-out infinite;
}

@keyframes petBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(5deg); }
}

.pet-level {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.pet-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 1rem;
}

.pet-stats {
    margin-bottom: 2rem;
}

.stat-bar {
    margin-bottom: 1rem;
}

.stat-bar label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3436;
    font-size: 0.9rem;
}

.exp-bar {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
}

.energy-bar {
    background: linear-gradient(135deg, #00cec9, #00b894);
}

.pet-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.play-btn, .train-btn {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.train-btn {
    background: linear-gradient(135deg, #fd79a8, #e84393);
}

.play-btn:hover:not(:disabled), .train-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(116, 185, 255, 0.3);
}

.train-btn:hover:not(:disabled) {
    box-shadow: 0 5px 15px rgba(253, 121, 168, 0.3);
}

.play-btn:disabled, .train-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pet-abilities {
    text-align: left;
    background: rgba(162, 155, 254, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #a29bfe;
}

.pet-abilities h4 {
    margin-bottom: 0.5rem;
    color: #6c5ce7;
    font-size: 1rem;
}

.abilities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ability-badge {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.ability-badge.locked {
    background: #95a5a6;
    opacity: 0.7;
}

.happiness-bar {
    margin-bottom: 2rem;
}

.happiness-bar label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3436;
}

.progress-bar {
    background: #ddd;
    border-radius: 25px;
    height: 30px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(135deg, #00b894, #00cec9);
    height: 100%;
    border-radius: 25px;
    transition: width 0.5s ease;
    width: 50%;
}

.progress-bar span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    color: #2d3436;
    z-index: 2;
}

.feed-btn {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.feed-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(253, 203, 110, 0.3);
}

.feed-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Boost Inventory */
.boost-list {
    display: grid;
    gap: 1rem;
}

.boost-item {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.boost-item button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.boost-item button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mood Share */
.mood-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.mood-btn {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.mood-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.current-mood {
    text-align: center;
    padding: 1rem;
    background: rgba(162, 155, 254, 0.1);
    border-radius: 10px;
    font-weight: 600;
}

/* Request Center */
.request-tabs {
    display: flex;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.25rem;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active {
    background: linear-gradient(135deg, #e84393, #fd79a8);
    color: white;
}

.tab-content {
    display: none;
}

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

.tab-content textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    resize: vertical;
    font-family: inherit;
    margin-bottom: 1rem;
}

.tab-content textarea:focus {
    outline: none;
    border-color: #e84393;
}

.tab-content button {
    background: linear-gradient(135deg, #e84393, #fd79a8);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.tab-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 67, 147, 0.3);
}

/* Nudge Section */
.nudge-section {
    text-align: center;
}

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

.nudge-btn, .mail-attack-btn {
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: glow 2s infinite;
}

.nudge-btn {
    background: linear-gradient(135deg, #fd79a8, #e84393);
}

.mail-attack-btn {
    background: linear-gradient(135deg, #e17055, #d63031);
    animation: mailGlow 2s infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(232, 67, 147, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(232, 67, 147, 0.6);
    }
}

@keyframes mailGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(225, 112, 85, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(214, 48, 49, 0.6);
    }
}

.nudge-btn:hover, .mail-attack-btn:hover {
    transform: translateY(-3px);
}

.nudge-btn:hover {
    box-shadow: 0 15px 30px rgba(232, 67, 147, 0.4);
}

.mail-attack-btn:hover {
    box-shadow: 0 15px 30px rgba(214, 48, 49, 0.4);
}

.action-descriptions {
    text-align: left;
    margin-bottom: 1rem;
}

.action-descriptions p {
    margin: 0.5rem 0;
    color: #636e72;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attack-result, .defense-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.attack-result.success {
    background: linear-gradient(135deg, rgba(225, 112, 85, 0.2), rgba(214, 48, 49, 0.2));
    color: #d63031;
    border: 2px solid rgba(214, 48, 49, 0.3);
}

.defense-result.success {
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.2), rgba(0, 206, 201, 0.2));
    color: #00b894;
    border: 2px solid rgba(0, 184, 148, 0.3);
}

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

/* Mail Defense System */
.mail-defense {
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.1), rgba(255, 255, 255, 0.95));
    border: 2px solid rgba(0, 184, 148, 0.2);
}

.defense-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.defense-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.upgrade-btn, .counter-attack-btn {
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.upgrade-btn {
    background: linear-gradient(135deg, #00b894, #00cec9);
}

.counter-attack-btn {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    animation: counterGlow 3s infinite;
}

@keyframes counterGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(253, 121, 168, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(232, 67, 147, 0.6);
    }
}

.upgrade-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 184, 148, 0.3);
}

.counter-attack-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(232, 67, 147, 0.4);
}

.upgrade-btn:disabled, .counter-attack-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Request Management */
.requests-list {
    display: grid;
    gap: 1rem;
}

.request-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #e84393;
}

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

.request-type {
    background: linear-gradient(135deg, #e84393, #fd79a8);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.request-date {
    color: #636e72;
    font-size: 0.9rem;
}

.request-content {
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.status-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.status-btn.seen {
    background: #74b9ff;
    color: white;
}

.status-btn.doing {
    background: #fdcb6e;
    color: white;
}

.status-btn.completed {
    background: #00b894;
    color: white;
}

.status-btn:hover {
    transform: translateY(-1px);
}

/* Longing Competition */
.competition-container {
    text-align: center;
}

.longing-winner {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: white;
    border-radius: 15px;
    font-size: 1.1rem;
}

.longing-btn {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: auto;
}

.longing-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(232, 67, 147, 0.3);
}

.longing-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.longing-chart {
    display: grid;
    gap: 1.5rem;
}

.chart-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.chart-bar {
    background: #ddd;
    border-radius: 25px;
    height: 30px;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 25px;
    transition: width 0.5s ease;
    width: 0%;
}

.chick-bar {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.bear-bar {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

.chart-bar span {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-weight: 600;
    color: #2d3436;
    z-index: 2;
}

/* Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stat-item {
    text-align: center;
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Notifications */
.notifications-list {
    display: grid;
    gap: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-item i {
    font-size: 1.5rem;
}

.notification-content {
    flex: 1;
}

.notification-time {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Hako Responses */
.responses-list {
    display: grid;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.response-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #00b894;
}

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

.response-type {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.response-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: auto;
}

.response-status.completed {
    background: #00b894;
    color: white;
}

.response-status.doing {
    background: #fdcb6e;
    color: white;
}

.response-status.seen {
    background: #74b9ff;
    color: white;
}

.response-content {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.response-note {
    background: rgba(0, 184, 148, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 3px solid #00b894;
}

.response-note strong {
    color: #00b894;
}

.response-date {
    color: #636e72;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Request Note Input */
.request-note-input {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.request-note-input input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

.request-note-input button {
    background: #00b894;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.request-note-input button:hover {
    background: #00a085;
}

/* Cooldown Display */
.cooldown-display {
    font-size: 0.8rem;
    color: #e74c3c;
    font-weight: 600;
    margin-left: 0.5rem;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Love Thermometer */
.love-thermometer {
    background: linear-gradient(135deg, rgba(255,182,193,0.2), rgba(255,255,255,0.95));
}

.thermometer-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.thermometer {
    width: 60px;
    height: 300px;
    background: linear-gradient(to top, #e74c3c 0%, #f39c12 50%, #2ecc71 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

.love-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 65%;
    background: linear-gradient(to top, #e74c3c, #f39c12);
    border-radius: 30px;
    transition: height 1s ease;
    animation: thermometerPulse 2s ease-in-out infinite;
}

@keyframes thermometerPulse {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.05); }
}

.temperature-marks {
    position: absolute;
    right: -40px;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
}

.temperature-marks .mark {
    font-size: 1.2rem;
    animation: float 3s ease-in-out infinite;
}

.temperature-marks .mark:nth-child(2) { animation-delay: 0.5s; }
.temperature-marks .mark:nth-child(3) { animation-delay: 1s; }
.temperature-marks .mark:nth-child(4) { animation-delay: 1.5s; }
.temperature-marks .mark:nth-child(5) { animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.love-status {
    flex: 1;
    text-align: center;
}

.love-status div {
    margin: 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

#lovePercentage {
    font-size: 2rem;
    color: #e74c3c;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Heart System */
.heart-system {
    background: linear-gradient(135deg, rgba(255,182,193,0.2), rgba(255,255,255,0.95));
}

.hearts-container {
    text-align: center;
}

.heart-pair {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.heart {
    position: relative;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.8);
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.heart-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.heart-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255,105,180,0.3);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.heart-label {
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.heart-rate {
    font-size: 1.1rem;
    color: #e74c3c;
    font-weight: 700;
}

.heart-connection {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.connection-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, #ff6b6b, #ff8e8e);
    animation: connectionPulse 2s ease-in-out infinite;
}

@keyframes connectionPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.connection-icon {
    font-size: 2rem;
    margin: 0.5rem 0;
    animation: bounce 2s infinite;
}

.sync-status {
    padding: 1rem;
    background: rgba(255,182,193,0.3);
    border-radius: 15px;
    margin-top: 1rem;
}

.sync-indicator {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e74c3c;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 5px rgba(231,76,60,0.5); }
    50% { text-shadow: 0 0 20px rgba(231,76,60,0.8); }
}

/* Empty State */
.empty-state {
    text-align: center;
    color: #636e72;
    font-style: italic;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-content {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .countdown {
        flex-direction: column;
        gap: 1rem;
    }
    
    .time-unit {
        min-width: auto;
        width: 100%;
    }
    
    .mood-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Mobile Heart System */
    .heart-pair {
        flex-direction: column;
        gap: 2rem;
    }
    
    .heart-connection {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    /* Mobile Thermometer */
    .thermometer-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .thermometer {
        width: 80%;
        height: 200px;
        margin: 0 auto;
    }
    
    .temperature-marks {
        position: static;
        flex-direction: row;
        justify-content: space-around;
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 1rem;
    }
    
    .login-form {
        padding: 1.5rem;
    }
    
    .logo {
        font-size: 3rem;
    }
    
    .login-header h1 {
        font-size: 2rem;
    }
    
    .dashboard-header {
        padding: 1rem;
    }
    
    .user-info h2 {
        font-size: 1.4rem;
    }
    
    .widget {
        padding: 1.5rem;
    }
}

/* ============================================ */
/* PUSH NOTIFICATION STYLES */
/* ============================================ */

.push-notification-settings {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    border: 3px solid #5f27cd;
}

.push-notification-settings h3 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.notification-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.notification-controls p {
    color: white;
    font-size: 1.1rem;
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.enable-notifications-btn {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.enable-notifications-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
}

.enable-notifications-btn:active {
    transform: translateY(0);
}

.enable-notifications-btn.active {
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.3);
}

.enable-notifications-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.notification-status {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    margin-top: 0.5rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-status.success {
    background: rgba(0, 184, 148, 0.2);
    color: #00b894;
    border: 2px solid #00b894;
}

.notification-status.error {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.notification-status:empty {
    display: none;
}

/* Notification animation */
@keyframes bellRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

.enable-notifications-btn i {
    animation: bellRing 2s ease-in-out infinite;
}

.enable-notifications-btn.active i {
    animation: none;
}

/* Mobile responsiveness for push notifications */
@media (max-width: 768px) {
    .enable-notifications-btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .notification-controls p {
        font-size: 1rem;
    }
}
