@import url('https://cdn.jsdelivr.net/npm/@fontsource/zalando-sans-expanded@5.0.0/index.css');

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

body {
    font-family: 'Zalando Sans Expanded', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0B0B0B 0%, #0F0F10 50%, #161616 100%);
    color: #FFFFFF;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
}

body:not(.auth-page)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(46, 233, 138, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body:not(.auth-page) > *:not(.modal) {
    position: relative;
    z-index: 1;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #0F0F10;
}

body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    border: 2px solid #0F0F10;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    background-color: transparent;
    color: #FFFFFF;
    padding: 27.6px 24px 16px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Green Header Bar */
.green-header-bar {
    background-color: #2EE98A;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.btn-new-briefing {
    background-color: #0e5232;
    color: #FFFFFF;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.btn-new-briefing:hover {
    background-color: #146e41;
    transform: translateY(-1px);
}

.btn-voltar {
    background-color: #0B0B0B;
    color: #FFFFFF;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.btn-voltar:hover {
    background-color: #1a1a1a;
    transform: translateY(-1px);
}

.btn-calendar {
    background-color: #1a8a5c;
    color: #FFFFFF;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.btn-calendar:hover {
    background-color: #22a570;
    transform: translateY(-1px);
}

.logo {
    font-size: 63px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.02em;
    margin: 0;
}

.logo-icon {
    flex-shrink: 0;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #9CA3AF;
    font-size: 14px;
}

.btn-logout {
    background-color: rgba(46, 233, 138, 0.1);
    color: #2EE98A;
    border: 1px solid rgba(46, 233, 138, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-logout:hover {
    background-color: rgba(223, 113, 113, 0.2);
    border-color: rgba(223, 113, 113, 0.4);
    color: #df7171;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    margin-top: 20px;
    padding: 32px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 24px;
}

.boards-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

.boards-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    text-align: center;
}

.boards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 280px));
    gap: 24px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.board-card {
    background: #161616;
    border-radius: 16px;
    padding: 28.8px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    min-height: 140px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.board-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--board-shadow-color, rgba(46, 233, 138, 0.15));
    border-color: var(--board-border-color, rgba(46, 233, 138, 0.2));
}

.board-card-color {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 16px 16px 0 0;
}

.board-card-content {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.board-card h3 {
    font-size: 21.6px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.board-card-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    justify-content: center;
}

.board-card-actions .btn-primary {
    background-color: #2EE98A;
    color: #0B0B0B;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.board-card-actions .btn-primary:hover {
    background-color: #3AF2A1;
    transform: translateY(-1px);
}

.board-card-actions .btn-danger {
    background-color: #EF4444;
    color: #FFFFFF;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: inherit;
}

.board-card-actions .btn-danger:hover {
    background-color: #DC2626;
    transform: translateY(-1px);
}

.btn-primary {
    background-color: #2EE98A;
    color: #0B0B0B;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: inherit;
    letter-spacing: -0.01em;
}

.btn-primary:hover {
    background-color: #3AF2A1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 233, 138, 0.3);
}

.btn-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-danger:hover {
    background-color: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}

.btn-success {
    background-color: #2EE98A;
    color: #0B0B0B;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-success:hover {
    background-color: #3AF2A1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 233, 138, 0.3);
}

.btn-secondary {
    background-color: #1C1C1E;
    color: #9CA3AF;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-secondary:hover {
    background-color: #252528;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-edit {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    opacity: 0.6;
    transition: all 0.2s ease;
    color: #9CA3AF;
}

.btn-edit:hover {
    opacity: 1;
    color: #FFFFFF;
}

/* Board Header */
.board-header {
    background-color: #2EE98A;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 24px;
}

.board-header-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.board-header-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: #0B0B0B;
    letter-spacing: -0.03em;
    text-align: center;
    margin: 0;
}

.board-header-button {
    margin-top: -10px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-responsaveis {
    background-color: #24b06e;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-responsaveis:hover {
    background-color: #2bc47e;
    transform: translateY(-1px);
}

/* Board Container */
.board-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 48px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    min-height: calc(100vh - 200px);
}

.board-lists-scroll-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    min-height: 0;
}

/* Barra de rolagem horizontal acima das listas (estilo igual à barra original) */
.board-scrollbar-track {
    flex-shrink: 0;
    height: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 14px;
}

.board-scrollbar-track::-webkit-scrollbar {
    height: 12px;
}

.board-scrollbar-track::-webkit-scrollbar-track {
    background: #0F0F10;
    border-radius: 6px;
}

.board-scrollbar-track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.board-scrollbar-track::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.board-scrollbar-inner {
    height: 1px;
    pointer-events: none;
}

/* Área das listas (scrollbar escondida; rolagem controlada pela barra de cima) */
.board-lists-viewport {
    flex: 1;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.board-lists-viewport::-webkit-scrollbar {
    display: none;
}

/* Calendar View */
.calendar-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.calendar-day-header {
    background-color: #1C1C1E;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #9CA3AF;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.calendar-day {
    background-color: #161616;
    height: 120px;
    min-height: 120px;
    max-height: 120px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.calendar-day-number {
    font-weight: 600;
    font-size: 14px;
    color: #FFFFFF;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.calendar-day-cards {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.calendar-day-cards::-webkit-scrollbar {
    width: 12px;
}

.calendar-day-cards::-webkit-scrollbar-track {
    background: #0F0F10;
    border-radius: 6px;
}

.calendar-day-cards::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.calendar-day-cards::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.calendar-day.today {
    background-color: rgba(46, 233, 138, 0.1);
    border-color: rgba(46, 233, 138, 0.3);
}

.calendar-day.today .calendar-day-number {
    color: #2EE98A;
    font-weight: 700;
}

.calendar-day.other-month {
    opacity: 0.4;
}

.calendar-day-cards .calendar-card-item {
    font-size: 12px;
    padding: 4px 8px;
    margin-bottom: 4px;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.calendar-card-item:hover {
    transform: translateX(2px);
    opacity: 0.9;
}

.lists-container {
    display: flex;
    gap: 24px;
    flex: 0 0 auto;
    min-width: min-content;
    align-items: flex-start;
    padding-bottom: 8px;
}

.list {
    background-color: #1C1C1E;
    border-radius: 16px;
    padding: 16px;
    min-width: 300px;
    max-width: 300px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
    margin-bottom: 5.76px;
    padding: 8px;
}

.list-title {
    font-weight: 600;
    font-size: 24px;
    flex: 1;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.list-title:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.list-actions {
    display: flex;
    gap: 2px;
    overflow: visible;
}

.list-actions button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
}

.list-actions button:hover {
    opacity: 1;
    transform: scale(1.08);
}

.list-actions button svg {
    display: block;
    width: 30px;
    height: 30px;
    overflow: visible;
}

.list-actions .list-btn-edit,
.list-actions .list-btn-delete {
    overflow: visible;
}

.list-btn-edit svg circle {
    transition: stroke 0.2s ease;
}

.list-btn-edit:hover svg circle {
    stroke: #3df5a0;
}

.list-btn-delete:hover svg circle {
    fill: #f87171;
}

.cards-container {
    min-height: 50px;
}

.card {
    background: #161616;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    background-color: var(--card-bg-hover, #1C1C1E) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(46, 233, 138, 0.2);
}

.card-completed {
    opacity: 0.6;
    background-color: #1C1C1E;
}

.card-completed-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 18px;
}

.strikethrough {
    text-decoration: line-through;
    opacity: 0.5;
}

.card-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 13px;
    color: #9CA3AF;
    margin-top: 8px;
    white-space: pre-wrap;
    line-height: 1.5;
}

.card-deadline {
    font-size: 12px;
    margin-top: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    display: inline-block;
    border: 1px solid transparent;
}

.deadline-overdue {
    font-weight: 600;
}

.card-meta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
    font-size: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
}

.form-group select {
    padding: 12px 16px;
    background-color: #1C1C1E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #2EE98A;
    box-shadow: 0 0 0 3px rgba(46, 233, 138, 0.1);
}

.form-group select option {
    background-color: #1C1C1E;
    color: #FFFFFF;
}

.responsaveis-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    max-height: 140px;
    overflow-y: auto;
    padding: 8px 0;
}

.responsaveis-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap;
}

.responsaveis-checkboxes input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2EE98A;
    cursor: pointer;
}

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

.date-picker label {
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
}

.date-picker input[type="date"] {
    padding: 12px;
    background-color: #1C1C1E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    width: 100%;
    color: #FFFFFF;
    transition: all 0.2s ease;
}

.date-picker input[type="date"]:focus {
    outline: none;
    border-color: #2EE98A;
    box-shadow: 0 0 0 3px rgba(46, 233, 138, 0.1);
}

.date-picker input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.6;
    cursor: pointer;
}

.btn-add-card {
    background-color: var(--btn-add-card-bg);
    border: none;
    color: var(--btn-add-card-color);
    padding: 10px 24px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-add-card:hover {
    background-color: var(--btn-add-card-bg-hover);
    transform: translateY(-1px);
}

.btn-add-list {
    background-color: rgba(255, 255, 255, 0.05);
    color: #9CA3AF;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 16px 24px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    min-width: 300px;
    height: fit-content;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-add-list:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(46, 233, 138, 0.3);
    color: #2EE98A;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.2s ease;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background-color: #161616;
    padding: 32px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    animation: slideDown 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    margin: auto;
    position: relative;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.modal-hint {
    font-size: 13px;
    color: #9CA3AF;
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-inline {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-inline input {
    flex: 1;
    min-width: 180px;
}

.responsaveis-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.responsaveis-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #1C1C1E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.responsaveis-list li span {
    font-size: 14px;
    color: #FFFFFF;
}

.responsaveis-list li .item-actions {
    display: flex;
    gap: 8px;
}

.responsaveis-list li .item-actions button {
    padding: 6px 12px;
    font-size: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.responsaveis-list li .item-actions .btn-edit {
    background-color: rgba(46, 233, 138, 0.2);
    color: #2EE98A;
}

.responsaveis-list li .item-actions .btn-edit:hover {
    background-color: rgba(46, 233, 138, 0.3);
}

.responsaveis-list li .item-actions .btn-delete {
    background-color: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.responsaveis-list li .item-actions .btn-delete:hover {
    background-color: rgba(239, 68, 68, 0.3);
}

.close {
    float: right;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    color: #9CA3AF;
    line-height: 20px;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.close:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.1);
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-content input,
.modal-content textarea {
    padding: 12px 16px;
    background-color: #1C1C1E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #FFFFFF;
    transition: all 0.2s ease;
    width: 100%;
}

.modal-content input::placeholder,
.modal-content textarea::placeholder {
    color: #6B7280;
}

.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: #2EE98A;
    box-shadow: 0 0 0 3px rgba(46, 233, 138, 0.1);
}

.modal-content textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.color-picker {
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-picker label {
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
}

.color-picker input[type="color"] {
    width: 60px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    border-radius: 8px;
    background: none;
    padding: 0;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

/* Auth Page */
.auth-page {
    background: #0B0B0B;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 0% 25%, rgba(46, 233, 138, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.auth-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 1px,
        rgba(46, 233, 138, 0.02) 1px,
        rgba(46, 233, 138, 0.02) 2px
    );
    pointer-events: none;
    z-index: 0;
}

.auth-container {
    width: 100%;
    max-width: 504px;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.auth-box {
    background: #161616;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.logo-icon {
    flex-shrink: 0;
}

.auth-logo h1 {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    margin: 0;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    color: #9CA3AF;
    font-size: 15px;
    margin-bottom: 32px;
    font-weight: 400;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
}

.field-icon {
    flex-shrink: 0;
}

.auth-form input {
    padding: 14px 16px;
    background-color: #1C1C1E;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #FFFFFF;
    transition: all 0.2s ease;
    width: 100%;
}

.auth-form input::placeholder {
    color: #6B7280;
}

.auth-form input:focus {
    outline: none;
    border-color: #2EE98A;
    box-shadow: 0 0 0 3px rgba(46, 233, 138, 0.1);
}

.btn-login {
    background-color: #2EE98A;
    color: #0B0B0B;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
}

.btn-login:hover {
    background-color: #3AF2A1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 233, 138, 0.3);
}

.btn-icon {
    flex-shrink: 0;
}

.auth-register-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #9CA3AF;
}

.auth-register-link span {
    color: #9CA3AF;
}

.auth-register-link a {
    color: #2EE98A;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
    transition: color 0.2s ease;
}

.auth-register-link a:hover {
    color: #3AF2A1;
    text-decoration: underline;
}

.auth-message {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    display: none;
    font-weight: 500;
}

.auth-message.success {
    background-color: rgba(46, 233, 138, 0.15);
    color: #2EE98A;
    border: 1px solid rgba(46, 233, 138, 0.3);
    display: block;
}

.auth-message.error {
    background-color: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
}

/* Drag and Drop */
.sortable-ghost {
    opacity: 0.4;
    background-color: rgba(46, 233, 138, 0.1);
    border: 2px dashed #2EE98A;
}

.sortable-drag {
    opacity: 0.9;
    transform: rotate(2deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .board-container {
        flex-direction: column;
        padding: 0 16px 32px;
    }
    
    .list {
        min-width: 100%;
        max-width: 100%;
    }
    
    .btn-add-list {
        min-width: 100%;
    }
    
    .boards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .boards-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .boards-header h2 {
        font-size: 28px;
    }

    .board-header-content h1 {
        font-size: 28px;
    }

    .container {
        padding: 0 16px;
        margin: 24px auto;
    }

    .modal-content {
        padding: 24px;
    }

    .auth-box {
        padding: 32px 24px;
    }
}
