h2 {
    color: #a4b13b;
    margin-top:3%;
    text-align: center;
    font-family: serif;
    font-size:40px;
    padding-left: 25%;
    padding-right: 25%;
}
p {
    padding-top:2%;
    padding-bottom:2%;
    font-size:20px;
    padding-left: 5%;
    padding-right: 5%;
}
h4{
    color: #055d75;
    width: 100%;
    margin-bottom: 1%;
}
#content, #searchEngineContent{
    border-radius: 5px;
    background: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 2%;
    margin: 2%;
}
#content {
    margin-left: 2%;
    margin-right: 2%;
}

#cardBtn {
    width:100% !important;
    text-align:start;
    padding:0;
    margin-bottom:1%;
}
#pHeader{
    padding-top:1%;
    padding-bottom:0;
    font-size:20px;
}

/* Skills Input Field Styling */
input, select {
    width: 100%; /* Full width */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px; /* Adjust font size */
    transition: all 0.3s ease; /* Smooth transition on focus */
    margin-bottom:2%;
}

/* Suggestions Box */
#suggestionsSkills {
    position: absolute; /* Position it relative to the input field */
    z-index: 10; /* Ensure it appears on top */
    width: 100%; /* Match input field width */
    background: white; /* Background color */
    border: 1px solid #ccc; /* Light border */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    max-height: 150px; /* Limit height for overflow */
    overflow-y: auto; /* Enable scrolling for overflow */
}

/* Individual Suggestion Items */
.suggestion-item {
    padding: 10px; /* Add spacing inside items */
    font-size: 14px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: all 0.2s ease; /* Smooth hover effect */
}

/* Hover Effect for Suggestions */
.suggestion-item:hover {
    background-color: #f0f0f0; /* Highlight background */
    color: #333; /* Text color */
}
.error-message {
    color: red;
    margin-top: 5px;
}
.is-invalid {
    border-color: red; /* Optional: highlight the invalid input field */
}
/* For the "Create Admin" Button */
#createJob {
    background-color: #055d75; /* Same blue for consistency */
    padding: 10px;
}

/* Center the entire pagination section */
#pagination, #pagination2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

/* Style the form and button */
#paginationForm {
    display: inline-block;
    text-align: center;
}

#paginationForm .btn-primary , #pagination2 .btn-primary{
    background-color: #007bff; /* Atermon blue */
    border: none;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top:5%;
    margin-bottom:5%;
}

#paginationForm .btn-primary:hover, #pagination2 .btn-primary:hover {
    background-color: #0056b3; /* Darker Atermon blue on hover */
}

/* Style for the small count text */
#paginationForm small , #pagination2 small{
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #555; /* Neutral gray for contrast */
    font-weight: 500;
}

/* Center the text */
.text-center {
    text-align: center;
}

/* Optional: Adding responsiveness for small screens */
@media (max-width: 576px) {
    #paginationForm .btn-primary {
        font-size: 14px;
        padding: 8px 16px;
    }

    #paginationForm small {
        font-size: 12px;
    }
}


/* Responsive Design for Small Screens (Mobile Devices) */
@media (max-width: 1464px) {
    h2 {
        font-size: 1.5rem;
        margin-left: 0;
        margin-bottom: 3%;
        text-align: center;
    }

    #createJob {
        margin-left: 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    #content, #searchEngineContent {
        padding: 1%;
        margin: 2%;
    }
    .col-3, .col-9 {
        width: 100% !important; /* Ensure columns stack vertically */
        margin-bottom: 10px;
    }

    /* Mobile-specific table layout */
    #search, #reset{
        margin-bottom:1%;
    }
    #createJob {
        margin-top: 20px;
        width: 100%;
    }

    button {
       width: 100%; /* Ensure full width for buttons */
    }
}

/* Responsive Design for Larger Screens (Desktop and beyond) */
@media (min-width: 1465px) {
    main {
        padding:0;
    }
    #createJob {
        margin-left: 70%;
        width: 25%;
    }

    #content, #searchEngineContent {
        padding: 30px;
        margin: 10px 0;
    }
    #search, #reset, #options{
        height:57px;
        width:10%;
        padding: 6px 12px;
        margin-bottom:1%;
        margin-right:1%;
        cursor: pointer;
        border: none;
        border-radius: 4px;
        color: #fff;
        font-size: 20px;
    }
}
