* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --space-dark: #0a0e17;
    --space-darker: #05080f;
    --space-blue: #1a237e;
    --space-purple: #4a148c;
    --space-pink: #880e4f;
    --neon-blue: #00e5ff;
    --neon-purple: #e040fb;
    --star-gold: #ffd700;
    --planet-orange: #ff9800;
    --comet-green: #00e676;
    --text-light: #e0f7fa;
    --text-dim: #b2ebf2;
    --success-green: #00e676;
    --warning-orange: #ff9800;
    --error-red: #ff5252;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--space-dark) 0%, var(--space-darker) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Stars Background */
#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 4s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Space Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(26, 35, 126, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 20, 140, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(136, 14, 79, 0.2) 0%, transparent 50%);
    z-index: -1;
}

.app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: rgba(10, 14, 23, 0.8);
    position: relative;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(26, 35, 126, 0.1);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.version-tag {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: var(--space-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-badge {
    background: linear-gradient(45deg, var(--star-gold), var(--planet-orange));
    color: var(--space-dark);
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 0.75rem;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.plan-badge.premium {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 15px rgba(0, 229, 255, 0.3); }
    to { box-shadow: 0 0 25px rgba(224, 64, 251, 0.5); }
}

.user-email {
    margin-right: 0.75rem;
    color: var(--text-dim);
    font-size: 0.875rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: var(--space-dark);
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

/* Auth Forms */
.auth-forms {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    background: linear-gradient(135deg, var(--space-blue) 0%, var(--space-purple) 50%, var(--space-pink) 100%);
    position: relative;
    overflow: hidden;
}

.auth-container {
    background: rgba(10, 14, 23, 0.9);
    padding: 2.5rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 400px;
    margin: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.2);
    backdrop-filter: blur(10px);
}

.auth-container h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-container input {
    width: 100%;
    padding: 0.875rem;
    margin-bottom: 1rem;
    background: rgba(26, 35, 126, 0.3);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.auth-container input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.auth-container input::placeholder {
    color: var(--text-dim);
}

.auth-container button[type="submit"] {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: var(--space-dark);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-container button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

#switchAuth {
    width: 100%;
    background: transparent;
    color: var(--neon-blue);
    border: none;
    margin-top: 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

#switchAuth:hover {
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* Main App Layout */
.main-app {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.sidebar {
    width: 260px;
    background: rgba(26, 35, 126, 0.1);
    border-right: 1px solid rgba(0, 229, 255, 0.2);
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.sidebar-section {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-section h4 {
    color: var(--neon-blue);
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.nav-item {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item.active {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: var(--space-dark);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.nav-item:hover:not(.active) {
    background: rgba(0, 229, 255, 0.1);
    transform: translateX(5px);
}

.content {
    flex: 1;
    padding: 1.5rem;
    background: rgba(10, 14, 23, 0.6);
    overflow-y: auto;
}

/* Boards */
.board {
    display: none;
}

.board.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.board-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(26, 35, 126, 0.2);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
}

.stat-card h3 {
    font-size: 0.875rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
}

/* Issues Container */
.issues-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.issues-column h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
    font-weight: 600;
}

.issues-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Issue Cards */
.issue-card {
    background: rgba(26, 35, 126, 0.2);
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    position: relative;
}

.issue-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--neon-blue);
    border-radius: 4px 0 0 4px;
}

.issue-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.2);
    border-color: var(--neon-blue);
}

.issue-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.issue-title {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-light);
    flex: 1;
}

.issue-amount {
    font-weight: 600;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.income .issue-amount {
    color: var(--comet-green);
}

.expense .issue-amount {
    color: var(--error-red);
}

.savings_goal .issue-amount {
    color: var(--star-gold);
}

.bill .issue-amount {
    color: var(--neon-purple);
}

.loan .issue-amount {
    color: #ff6b6b;
}

.investment .issue-amount {
    color: var(--comet-green);
}

.issue-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Priority System */
.priority-high {
    border-left-color: var(--error-red);
    background: rgba(255, 82, 82, 0.1);
}

.priority-medium {
    border-left-color: var(--planet-orange);
    background: rgba(255, 152, 0, 0.1);
}

.priority-low {
    border-left-color: var(--neon-purple);
    background: rgba(224, 64, 251, 0.1);
}

.issue-priority {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    font-weight: 600;
}

.issue-recurring {
    background: rgba(0, 230, 118, 0.2);
    color: var(--comet-green);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    font-weight: 600;
}

/* Issue Actions */
.issue-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.btn-small {
    padding: 0.375rem 0.75rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    cursor: pointer;
    flex: 1;
    min-width: 60px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-success {
    background: var(--comet-green);
    color: var(--space-dark);
}

.btn-success:hover {
    background: #00c853;
    transform: translateY(-1px);
}

.btn-warning {
    background: var(--planet-orange);
    color: var(--space-dark);
}

.btn-warning:hover {
    background: #f57c00;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--error-red);
    color: white;
}

.btn-danger:hover {
    background: #d32f2f;
    transform: translateY(-1px);
}

/* Calendar */
.calendar {
    background: rgba(26, 35, 126, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    backdrop-filter: blur(10px);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
}

.calendar-day {
    background: rgba(10, 14, 23, 0.8);
    padding: 0.75rem;
    min-height: 120px;
    font-size: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
}

.calendar-day:hover {
    background: rgba(26, 35, 126, 0.3);
}

.calendar-day.today {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--neon-blue);
}

.calendar-day-header {
    background: rgba(26, 35, 126, 0.4);
    font-weight: 600;
    text-align: center;
    padding: 0.75rem;
    color: var(--neon-blue);
}

.day-number {
    font-weight: bold;
    margin-bottom: 0.375rem;
    color: var(--text-light);
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.calendar-event {
    background: var(--neon-blue);
    color: var(--space-dark);
    padding: 0.25rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.calendar-event:hover {
    transform: scale(1.05);
}

.calendar-event .event-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-event .event-amount {
    font-weight: bold;
    margin-left: 0.25rem;
}

.income-event {
    background: var(--comet-green);
}

.expense-event {
    background: var(--error-red);
}

.savings_goal-event {
    background: var(--star-gold);
}

.bill-event {
    background: var(--neon-purple);
}

.loan-event {
    background: #ff6b6b;
}

.investment-event {
    background: var(--comet-green);
}

.add-event-btn {
    position: absolute;
    bottom: 0.375rem;
    right: 0.375rem;
    background: var(--neon-blue);
    color: var(--space-dark);
    border: none;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: bold;
}

.calendar-day:hover .add-event-btn {
    opacity: 1;
}

.add-event-btn:hover {
    transform: scale(1.1);
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 15, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    padding: 1rem;
}

.modal-content {
    background: rgba(26, 35, 126, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(0, 229, 255, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-content h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    padding: 0.875rem;
    margin-bottom: 1rem;
    background: rgba(26, 35, 126, 0.3);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.modal-content input::placeholder,
.modal-content textarea::placeholder {
    color: var(--text-dim);
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Premium Features */
.premium-feature {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 152, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.premium-feature::before {
    content: '⭐';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
}

.premium-feature-content {
    margin-left: 1.875rem;
}

.premium-badge {
    background: linear-gradient(45deg, var(--star-gold), var(--planet-orange));
    color: var(--space-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: bold;
    margin-left: 0.5rem;
    text-transform: uppercase;
}

/* Discount Codes */
.discount-section {
    background: rgba(26, 35, 126, 0.3);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin: 1.25rem 0;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.discount-codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.discount-code {
    background: rgba(0, 229, 255, 0.1);
    border: 1px dashed var(--neon-blue);
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.discount-code:hover {
    background: rgba(0, 229, 255, 0.2);
    transform: translateY(-2px);
}

.code-value {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: var(--neon-blue);
    font-size: 0.875rem;
}

.code-discount {
    background: var(--comet-green);
    color: var(--space-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: bold;
    margin-top: 0.25rem;
}

.discount-input {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.discount-input input {
    flex: 1;
    margin-bottom: 0;
}

.discount-message {
    margin-top: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    text-align: center;
    font-weight: 600;
}

.discount-message.success {
    background: rgba(0, 230, 118, 0.2);
    color: var(--comet-green);
    border: 1px solid var(--comet-green);
}

.discount-message.error {
    background: rgba(255, 82, 82, 0.2);
    color: var(--error-red);
    border: 1px solid var(--error-red);
}

/* Pricing */
.pricing-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-card {
    background: rgba(26, 35, 126, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.price-card.featured {
    border-color: var(--neon-blue);
    background: rgba(0, 229, 255, 0.1);
}

.price-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--neon-blue);
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-dim);
}

.billing {
    color: var(--text-dim);
    font-size: 0.875rem;
}

/* Features Comparison */
.features-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.feature-column h5 {
    color: var(--neon-blue);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-item {
    font-size: 0.875rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    background: rgba(26, 35, 126, 0.2);
}

.feature-item.premium {
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid var(--star-gold);
}

/* Savings */
.savings-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.savings-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.savings-goal-card {
    background: rgba(26, 35, 126, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    backdrop-filter: blur(10px);
}

.savings-progress {
    margin-top: 1rem;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, var(--star-gold), var(--planet-orange));
    transition: width 0.3s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Settings */
.settings-section {
    margin-bottom: 1.5rem;
}

.settings-section h4 {
    color: var(--neon-blue);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.setting-item {
    margin-bottom: 1rem;
}

.setting-item label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dim);
    font-size: 0.875rem;
}

.plan-display {
    background: rgba(0, 229, 255, 0.1);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 229, 255, 0.3);
    font-weight: 600;
}

/* Utility */
.hidden {
    display: none !important;
}

/* Premium Status Styles */
.premium-status {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.status-active {
    color: var(--neon-blue);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.premium-status small {
    color: var(--text-dim);
    font-size: 12px;
}

.cancel-warning {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid var(--planet-orange);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.cancel-warning p {
    color: var(--planet-orange);
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* Confirmation Modal */
.confirmation-modal {
    text-align: center;
}

.confirmation-modal h4 {
    color: var(--error-red);
    margin-bottom: 8px;
}

.confirmation-modal p {
    color: var(--text-dim);
    margin-bottom: 20px;
    line-height: 1.5;
}

.confirmation-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirmation-actions .btn-secondary {
    flex: 1;
}

.confirmation-actions .btn-danger {
    flex: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .nav {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .main-app {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        padding: 1rem 0;
        order: 2;
    }

    .sidebar-section {
        padding: 0 1rem;
    }

    .content {
        order: 1;
        padding: 1rem;
    }

    .issues-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .calendar-grid {
        font-size: 0.75rem;
    }

    .calendar-day {
        min-height: 80px;
        padding: 0.5rem;
    }

    .calendar-event {
        font-size: 0.625rem;
        padding: 0.125rem 0.25rem;
    }

    .features-comparison {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .form-actions {
        justify-content: stretch;
    }

    .form-actions button {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    .board-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .board-header h2 {
        text-align: center;
    }

    .btn-primary, .btn-secondary {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        width: 100%;
    }

    .discount-codes-grid {
        grid-template-columns: 1fr;
    }

    .nav-item {
        padding: 1rem;
    }

    .issue-actions {
        flex-direction: column;
    }

    .btn-small {
        min-width: auto;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .header {
        padding: 0.5rem;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo h1 {
        font-size: 1.125rem;
    }

    .version-tag {
        font-size: 0.5rem;
        padding: 0.125rem 0.375rem;
    }

    .content {
        padding: 0.5rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-amount {
        font-size: 1.5rem;
    }

    .modal-content {
        padding: 1rem;
    }
}