/* Styles for Header, Navigation pane and Body */

body, header, footer, main, h4 {
  font-family: "Playfair Display", serif;
  background-color: #f4f7f6;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 1.5em;
    text-align: center;
}



/* CSS style content for nav, inside the header */

header nav a:link, 
header nav a:visited {
    color: #1a2a3a;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 20px;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s;
}

/* Hover state */
header nav a:hover {
    background-color: #4a90e2; 
    color: #ffffff;
    border-radius: 4px;
}

/* Active page indicator */

.active {
    border-bottom: 3px solid #36454F;
    font-weight: bold;
}
.active {
    border-bottom: 3px solid #36454F;
    font-weight: bold;
}

main {
    flex: 1; 
    padding: 20px;
}


/* Styles for Content*/
main {
    max-width: 900px;
    margin: 2em auto;
    padding: 0 20px;
}

h1 {
    color: #000000;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

#cert-list ul {
    list-style-type: none;
    padding: 0;
}


#cert-list li {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 5px solid #2ecc71;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Styles for Information Box */
.info-box {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}


label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"], 
input[type="date"], 
input, select {
    max-width: 200px;
    padding: 4px 8px; 
    display: block; 
    margin-bottom: 15px;
}

button, .btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    text-decoration: none;
    display: inline-block;
}

button:hover {
    background-color: #2980b9;
}

/* Styles for Resources Page */



/* Styles for footer */
footer {
    text-align: center;
    padding: 2em;
    font-size: 0.9em;
    color: #7f8c8d;
    margin-top: 40px;
}