/* Global Styles */
body {
    background: #f5f5f5;
}

/* Login Page Styles */
body.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px;
    font-weight: bold;
    transition: transform 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5568d3 0%, #653a8b 100%);
}

/* Dashboard Styles */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

/* .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
} */

.card-icon {
    font-size: 3rem;
}

.text-primary, .card-title.text-primary {
    color: #667eea !important;
}

.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Create List Button */
#createListBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 10px 20px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

#createListBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

#createListBtn.active {
    background: linear-gradient(135deg, #5568d3 0%, #653a8b 100%);
}

/* List Group Styles */
.list-group-item.dnd-selector {
    cursor: grab;
}

.list-group-item.dnd-selector:active {
    cursor: grabbing;
}

/* List label link styling */
.list-label {
    cursor: pointer;
    transition: color 0.2s;
}

.list-label:hover {
    color: #667eea !important;
    text-decoration: underline !important;
}

/* jQuery UI placeholder for sortable */
.sortable-placeholder {
    background: #eef2ff;
    border: 2px dashed #667eea;
    height: 3rem;
    margin: 0;
}

/* .list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
} */

/* Item Styles */
.item-row {
    transition: opacity 0.3s;
}

.item-completed .item-title {
    text-decoration: line-through;
    opacity: 0.7;
    color: #6c757d;
}

/* Item action buttons */
.complete-item-btn,
.undo-item-btn,
.delete-item-btn {
    transition: transform 0.2s;
}

.complete-item-btn:hover,
.undo-item-btn:hover,
.delete-item-btn:hover {
    transform: scale(1.1);
}

.complete-item-btn {
    color: #198754;
    border-color: #198754;
}

.complete-item-btn:hover {
    background-color: #198754;
    border-color: #198754;
    color: white;
}

.undo-item-btn {
    color: #ffc107;
    border-color: #ffc107;
}

.undo-item-btn:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

/* Item form textarea */
#itemTitle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    resize: vertical;
    min-height: 100px;
}

#itemTitle::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Breadcrumb styling */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Search result highlighting */
mark {
    background-color: #fff3cd;
    padding: 0;
    margin: 0;
    font-weight: bold;
    display: inline;
    line-height: inherit;
}
