/* General Reset */
body, ul, li, a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    color: #02174C;
    font-family: Helvetica, Tahoma, sans-serif;
}



/* Headings */
h1 {
    font-size: 2.5rem;
    color: #02174C;
    text-align: center;
    margin-bottom: 20px;
}
h2 {
	font-size: 1.8rem;
	color: #27AA45;
	margin-top: 20px;
	margin-bottom: 20px;
}


/* Input Boxes */


input[type="text"], input[type="password"] {
/*  width: 100%; */
	padding: 10px;
	margin: 5px 0 20px;
	border: 1px solid #A82F31;
	border-radius: 4px;
	font-size: 14px;
}

input[type="SR1"] {
 width: 50%;
	font-size: 14px;

}

input[type="number"]{
    width:55px;
}
button[type="delete"]{
    cursor: pointer; 
    color: white; 
    background-color: red; 
    border: none;
    align-items: center;
    padding: 5px 10px;
    font-size: 12px; 
}

/* exercise-details */

        .exercise-details, .search-results {
            margin-top: 20px;
            padding: 20px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        .exercise-details img {
            max-width:calc(100% - 20px);
            height: auto;
            border-radius: 8px;
            margin-bottom: 10px;
        }
        a.edit-link {
            color: blue;
            text-decoration: underline;
            cursor: pointer;
        }

/* Containers */
.container, .login-container {
    margin: 30px auto;
    padding: 20px;
    max-width: calc(100% - 30px);
    width: 500px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    
}


.index-container {
    margin: 30px auto;
    padding: 20px;
    max-width: 1200px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.report-container {
    text-align: center;
    padding: 20px;
}
.login-box{
    flex: 1;
    display: flex;
    justify-content:space-evenly;
    flex-direction: column;
    gap: 10px 20px;
    margin: 10px auto;
    padding: 10px;
    width: 350px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Forms */
.form-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 5px;
}
label {
    flex: 1;
    font-weight: bold;
    flex-basis: 100px;
}
input, select ,{
    flex: 2;
    flex-basis: 90%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    
}
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
}
button:hover {
    background-color: #45a049;
}


button[type="submit"] {
    padding: 5px 60px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-remove {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}

.btn-add:hover, .btn-remove:hover {
    opacity: 0.8;
}
canvas {
    margin: 20px auto;
    display: block;
    max-width: 800px;
}

/* Table Styles */
table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}
table thead {
    background-color: #02174C;
    color: white;
}
table th, table td {
    text-align: center;
    padding: 3px;
    border: 1px solid #ddd;
}
table tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
}
table tbody tr:hover {
    background-color: #e9ecef;
}
table a {
    color: #02174C;
    text-decoration: none;
}
table a:hover {
    text-decoration: underline;
}

/* Banner */
.banner {
    background-color: black;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}
.full-width-banner {
    background-color: #02174C;
    width: 100%;
}
.banner-logo {
    margin-right: 20px;
}



/* Footer */
footer {
    background-color: #02174C;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 10px;
    line-height: 1.0;
    margin-top: 10px;
}
footer a {
    color: #FFD700;
    text-decoration: none;
    margin: 0 5px;
}
footer a:hover {
    text-decoration: underline;
}
footer img {
    vertical-align: middle;
}

/* Search Results */
.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
    background: #fff;
   /* max-height: 200px; */
    overflow-y: auto;
    position: absolute;
    z-index: 1000;
}
.search-results-list li {
    padding: 10px;
    cursor: pointer;
}
.search-results-list li:hover {
    background: #f0f0f0;
}
    .searchbox1{
        width: 200px;
    }
@media screen and (max-width: 768px) {
    body {
        font-size: 10px; /* Smaller font size for phones */
            }
        }

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar-menu {
        flex-direction: column;
        gap: 10px;
    }
    .navbar-menu a {
        font-size: 14px;
    }
    .dropdown-menu li a {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .navbar {
        padding: 5px 10px;
    }
    .navbar-menu a {
        font-size: 12px;
        padding: 8px;
    }
    .banner-logo {
        max-width: 100px;
    }
}

@media handheld{
}
