/* custom.css */

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


header {
    background-color: #0056b3;
    padding: 20px;
    text-align: center;
    color: white;
    font-size: 1.5rem;
}

main {
    flex: 1;
    padding-bottom: 20px;
}

footer {
    background-color: #0056b3;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: auto;
} 

.list-group-item {
    background-color: white;
    border-left: 5px solid #0056b3;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.list-group-item:hover {
    background-color: #0056b3;
    color: white;
    cursor: pointer;
}

.container {
    max-width: 900px;
}
main {
    flex: 1;
    padding-bottom: 20px;
}


.glassmorphism {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-input {
    background: rgba(255, 255, 255, 0.9); /* Απαλό background */
    border: 1px solid #ccc; /* Διακριτό περίγραμμα */
    border-radius: 10px;
    padding: 12px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease-in-out;
}

.custom-input:focus {
    outline: none;
    border: 2px solid #007bff; /* Μπλε highlight όταν γράφει ο χρήστης */
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3); /* Glow effect */
    background: #fff;
}

.custom-btn {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    border: none;
    border-radius: 50px;
    padding: 12px;
    font-size: 1.1rem;
    transition: 0.3s;
}

.custom-btn:hover {
    background: linear-gradient(45deg, #0056b3, #0099cc);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.5);
}

html {
    scroll-behavior: smooth;
}

/* .sidebar {
    background-color: #212529; 
    color: white;
    padding: 15px;
    height: 100vh;
    flex: 0 0 250px; 
} */

.content {
    flex-grow: 1; /* Κάνει το περιεχόμενο να καταλαμβάνει το υπόλοιπο */
}
/* .sidebar h3 {
    color: white;
} */
.sidebar {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    height: 100vh;
    position: sticky;
    top: 0;
}

.sidebar h3 {
    color: #0056b3;
    font-weight: bold;
    text-align: center;
}

.sidebar .list-group {
    border-radius: 10px;
}

.sidebar .list-group-item {
    color: #000;
    background-color: white;
    border-left: 5px solid #0056b3;
    font-size: 1.1rem;
    transition: all 0.3s;
    border-radius: 8px;
}

.sidebar .list-group-item:hover {
    background-color: #0056b3;
    color: white;
    cursor: pointer;
}
.offcanvas {
    background-color: #f0f0f0; /* Ίδιο με το sidebar */
    padding: 20px;
    border-radius: 10px;
}
.offcanvas h3 {
    color: #0056b3;
    font-weight: bold;
    text-align: center;
}
.offcanvas-header {
    background-color: #0056b3;
    color: white;
}

.offcanvas-title {
    font-weight: bold;
}

.offcanvas .list-group-item {
    background-color: white;
    border-left: 5px solid #0056b3;
    color: #000;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.offcanvas .list-group-item:hover {
    background-color: #0056b3;
    color: white;
}
.offcanvas.offcanvas-start {
    width: 100%;
    max-width: 280px; /* Ρύθμισε το μέγεθος που θέλεις */
}
.menu-button {
    width: 50px; /* Μικρότερο μέγεθος */
    height: 50px; /* Ίδιο ύψος για να γίνει στρογγυλό */
    border-radius: 50%; /* Στρογγυλό σχήμα */
    font-size: 1.2rem; /* Προσαρμογή του μεγέθους κειμένου */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: fixed;
    bottom: 60px;
    right: 15px;
    z-index: 1050; /* Για να εμφανίζεται πάνω από άλλα στοιχεία */
}


/* Απόκρυψη sidebar στα κινητά */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
}





.list-group-item {
    background-color: transparent;
    color: white;
    border-left: 5px solid #007bff;
}

.list-group-item:hover {
    background-color: #343a40; /* Λίγο πιο ανοιχτό από το navbar */
    color: white;
}
html, body {
    height: 100%;
    overflow-x: hidden;
    width: 100%;
}
.row {
    margin-left: 0;
    margin-right: 0;
}

.card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* .card:hover:has(:focus) {
    transform: none !important;
    box-shadow: none !important;
} */
.no-hover:hover {
    transform: none;
    box-shadow: none;
}
