html {
    font-size: 14px;
    font-family: Montserrat, "Helvetica Neue", sans-serif;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

.roboto {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}

h1, h3, h4, h5, h6, .navbar-brand {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

body {
    margin-bottom: 60px;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/back2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.userPhoto {
    width: 100px;
    height: 100px;
}

.navbar {
    background: rgba(255, 255, 255, 0.1);
    height: 80px;    
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    color: white !important;
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);    
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    color: white !important;
    transition: transform 0.3s ease, background 0.3s ease;
    border-radius: 9px;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.glass-card h5, .glass-card a {
    color: white !important;
}

.masonry-layout {
    column-count: 2;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .masonry-layout {
        column-count: 1;
    }
}

.todo-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: transform 0.3s ease, background 0.3s ease;
    color: white !important;
}

.todo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0;
    transition: all 0.2s;
}

.todo-checkbox {
    display: none;
}

.custom-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #C7C7CC;
    border-radius: 50%;
    margin-right: 15px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.todo-checkbox:checked + .custom-circle {
    background-color: #0aa0e3;
    border-color: #0aa0e3;
}

.todo-checkbox:checked + .custom-circle::after {
    content: '\F272';
    font-family: 'bootstrap-icons' !important;
    color: white;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.task-title {
    flex-grow: 1;
    font-size: 16px;
    cursor: pointer;
}

.task-completed {
    text-decoration: line-through;
    color: #8E8E93;
}

.btn-delete {
    background: none;
    border: none;
    color: #FF3B30;
    font-size: 22px;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 1px 0;
}

.btn-delete:hover {
    opacity: 1;
}

.glass-input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-right: none !important;
    box-shadow: none !important;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.glass-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    padding-left: 20px;
    padding-right: 20px;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

input[type="datetime-local"] {
    color-scheme: dark; 
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.6;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.profile-img-container {
    width: 150px;
    height: 150px;
    border-radius: 50%; 
    overflow: hidden; 
    border: 3px solid rgba(255, 255, 255, 0.2); 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.3);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-list::-webkit-scrollbar {
    display: none;
}

.movie-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media screen and (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}