body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #9a93fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    z-index: -1;
    animation: floatingShapes 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatingShapes {

    0%,
    100% {
        transform: translate(0px, 0px) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* styles in navigation */
.navbar {
    background: rgba(73, 73, 73, 0.214) !important;
    /* backdrop-filter: blur(20px); */
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    box-shadow: var(--shadow-light);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: aliceblue !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.288);
}

.navbar .btn {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.navbar .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}


.hidden {
    display: none !important;
}

#search-input::placeholder {
    color: white;
}


/* animation for welcome image */
@keyframes welcomeCardIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
        box-shadow: none;
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }
}

.welcome-image {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    animation: welcomeCardIn 0.5s ease-out forwards;
    opacity: 0;
}


.form-control::placeholder {
    color: white;
    opacity: 0.7;

}


/* board management */
#board-management {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

/* board view */
#board-header {

    background-color: rgb(252, 209, 255);
    padding: 1.5rem;

    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#boards-dropdown {
    background-color: rgb(193, 193, 193) !important;
}

#boards-dropdown .dropdown-item {
    color: #212529;
    background-color: transparent;
}

#boards-dropdown .dropdown-item:hover,
#boards-dropdown .dropdown-item.active {
    background-color: #f8f9fa;
}

/* columns */
.column {
    margin-top: 10px;
    background-color: rgb(255, 232, 255);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 500px;
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.column-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.column-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-column-action {
    background: none;
    border: none;
    color: #6c757d;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-column-action:hover {
    color: #495057;
    background: #f8f9fa;
}

/* tasks */
.task-list {
    min-height: 400px;
    padding: 0.5rem 0;
}

.task-card {
    background: var(--task-card-bg);
    border: 1px solid var(--task-card-border);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.task-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.task-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.task-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.task-priority {
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-low {
    background: #d4edda;
    color: #155724;
}

.priority-medium {
    background: #fff3cd;
    color: #856404;
}

.priority-high {
    background: #f8d7da;
    color: #721c24;
}

.priority-urgent {
    background: #d1ecf1;
    color: #0c5460;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.task-due-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.task-due-date.overdue {
    color: #dc3545;
    font-weight: 600;
}

/* add task button */
.add-task-btn {
    width: 100%;
    border: 2px dashed var(--border-color);
    background: transparent;
    color: var(--text-muted);
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.add-task-btn:hover {
    border-color: #007bff;
    color: #007bff;
    background: rgba(0, 123, 255, 0.05);
}

/* css for drag and drop */
.task-card.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.column.drag-over {
    background: rgba(0, 123, 255, 0.1);
    border: 2px dashed #007bff;
}