body {    
    font-family: 'Inter', 'Roboto', 'Helvetica', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9; /* Light background for a clean look */    
}

.btn-link {
    text-decoration:none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 1030;
   background-color: #f8f9fa;
   border-bottom: 1px solid #dee2e6;
   box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card {
    margin-bottom: 20px;
    border: 2px solid rgba(0,0,0,.125);
}

.nav-item{    
    background: rgba(232, 238, 245, 0.25);    
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0px 15px;
    margin-left: 10px;
    margin-top: 10px;
    font-weight: bold;
    font-size: 0.95em;
    text-align: center;
    max-height: 45px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.nav-item:hover{    
    background: rgba(112, 113, 114, 0.853);    
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);    
}

form {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    margin-top: 20px;
    border: 1px solid #343232;
    border-radius: 4px;
    padding: 20px;
    background-color: #eeeef2;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

form label {
    font-weight: bold;    
    margin-bottom: 5px;
    vertical-align: top;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #0e024f;
    border-radius: 4px;
}

form input[type="number"],
form input[type="date"],
form input[type="datetime-local"] { 
    display: block;   
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #0e024f;
    border-radius: 4px;
}

/* If you're using button elements instead of input[type="submit"] */
form button[type="submit"] {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    margin: 0 auto;
    padding: 10px;        
    cursor: pointer;
    background-color: #18bc9c;
    color: #fff;
    border: 1px solid #000000;
    border-radius: 20px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

form input[type="submit"]:hover {    
    font-size: 1.2em;
    background-color: #12a085;  /* Very light red/pink */
    color: #ffffff;  /* Dark red for contrast */
    border: 1px solid #f4f1f2e7;
    padding: 1rem;
    border-radius: 20px;

}

.subscribe-button{
    width: 130px;
    min-width: 130px;
    max-width: 200px;
    margin: 0 auto;
    padding: 10px;        
    cursor: pointer;
    background-color: #18bc9c;
    color: #fff;
    border: 1px solid #000000;
    border-radius: 20px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
/* New styles for centering the submit button */
form p:last-child {
    text-align: center;
}

form p:last-child input[type="submit"] {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}

.btn-primary {
    border-radius: 8px;  
}

.btn-primary:hover{
    background-color: #12a085;
    color: #ffffff;
}

.btn-sm {
   border-radius: 8px;  
}

.btn-sm:hover{
    background-color: #66a1fb;
    color: #ffffff;
}

form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #0e024f;
    border-radius: 4px; 
}

form select {
    display: block;
    padding: 10px;    
    border: 1px solid #0e024f;
    border-radius: 4px;
}


.close-link {
    float: right;
    right: 0px;
    width: auto;
    font-size: 1.5em;
    text-decoration: none;
    color: #000;
    margin-top: -10px;
    margin-right: -10px;
    text-align:end;
    margin-bottom: 10px;    
}

.close-link:hover {
    color: #777;
    text-decoration: none;
}

.main-container {
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-left: auto;   
    display: flex; 
    flex-direction: column;
}


.form-container { 
    position: relative;   
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #f8f9fa;
    border: 1px solid #343232;
    border-radius: 10px;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.2);    
    width: 100%;
    margin: 20px;
    padding: 20px; 
    border: 1px solid #000;
    margin-bottom: 20px;
}


.input-form-container {
    position: relative;
    padding: 20px;
    border: 1px solid #343232;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    width: 75%;
    margin:0 auto;    
}


.content-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #f0f4f4;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    border: 1px solid #000; 
}


.form-group {
    margin-bottom: 1.0rem;
    position: relative;        
    margin-top: 5px;
    margin-left: 25px;
    margin-right: 25px;
}

.job-title {
    width: 100%; 
    height: 150px; 
    overflow-y: auto; 
    overflow-x: hidden; 
    padding: 10px; 
    border: 1px solid black; 
    border-radius: 10px;
    margin-bottom: 10px;
}

.alert-error {
    font-size: 1.2em;
    background-color: #fff1f1;  /* Very light red/pink */
    color: #842029;  /* Dark red for contrast */
    border-color: #f5c2c7;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.navbar .nav-item a,
.navbar-nav .nav-item a {
    color:#1f2623de !important;
    text-decoration: none;
}

.navbar .nav-item a:hover,
.navbar-nav .nav-item a:hover {
    color: #fdf9f9e4 !important;
    text-decoration: none;
}

.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 12px 16px;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 8px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    position: absolute;
    left: 0;
    top: 95%;
    z-index: 1000;
    background-color: #f8fbfd;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 8px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:hover {
    background-color:rgba(112, 113, 114, 0.853);    
    color: white;
    border-radius: 8px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

/* Active States */
.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dropdown-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
} 

.force-top-margin {
    margin-top: -50px;
}

.navbar-brand-container {    
    display: flex;
    align-items: center;
    padding-top: 0px;    
    background-size: contain; 
    background-position: left; 
    background-repeat: no-repeat;     
    background-image: url('../images/JobSeekerDiary.png');
    height: 170px;
    width: 190px;
}

.navbar-brand {
    width: 100%;
    height: 100%;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.subscription-info {
    position: static;
    top: 20px;
    right: 10px;
    font-size: 0.8em;
    padding: 12px 2px 10px 10px;
    background-color: #f8f9fa;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border: 1px solid #000000;  
    box-shadow: 1px 3px 4px rgba(0,0,0,1.1);
    border-radius: 20px;
    margin-bottom: 10px;
    text-align: left;
    width: 75%;
    margin: 15px auto;
}

.subscription-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
}

.subscription-info span p {
    display: flex;
    align-items: right;
    gap: 5px;
}

.subscription-status.active {
    color: #28a745;
}

.subscription-status.inactive {
    color: #dc3545;
}

.search-row {
    display: contents;
    flex-direction: row;
    gap: 10px;
    margin: 5px 0;
    padding: 5px; 
}

input {
    border: 1px solid black;
    border-radius: 8px;
    padding: 5px 10px;
    margin-left: 10px;
}

select {
    border: 1px solid black;
    border-radius: 8px;
    padding: 5px 10px;
    margin-left: 10px;
}


.search-from-input, .search-to-input {
    width: 150px;
}

#search-button {
    background-color: #18bc9c;
    color: #fff;
    border: 2px solid black;
    border-radius: 8px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
}

#search-button:hover {
    background-color: #12a085;
    color: #fff;
}

.search-commission {
    border: 1px solid black;
    border-radius: 8px;
    padding: 5px 10px;
    margin-left: 10px;
}

/* Custom navbar styles */
@media (min-width: 600px) {
    .navbar-toggler {
        display: none !important;
    }
    
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    
    .navbar-nav {
        flex-direction: row;
    }
    
    .navbar-nav .nav-item {
        margin-left: 1rem;
    }
}

@media (max-width: 599px) {
    .navbar-collapse {
        display: none;
    }
    
    .navbar-collapse.show {
        display: block;
    }
    
    .navbar-nav {
        flex-direction: column;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    
    .dropdown-menu {
        position: static;
        float: none;
    }
}

.navbar-toggler-icon {
    display: none; /* Hide by default for larger screens */
}

@media screen and (max-width: 1024px) {
    .navbar-toggler-icon {
        display: flex; /* Show for screens smaller than 150px */
        color: #fff;        
        border-radius: 50%;
        padding: 1px;
        align-items: center;
        justify-content: center;
        width: 40px;        
        height: 40px;
        background-size: contain; 
        background-position: center; 
        background-repeat: no-repeat; 
        background-image: url('../images/showmenu.png');
    }
}

.nav-divider {
    margin: 0;
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
    width: 100%;
}

.table-responsive {
    width:100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    overflow-y: hidden;
    border: 1px solid #000;
    border-radius: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #000;
    margin-top: 20px;
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;    
}

.table-responsive th, .table-responsive td {
    border: 1px solid #000;
    padding: 10px;
    text-align: left;
}

.JobHunterDiaryBeforeAndAfter {
    min-width: 1024px;    
    min-height: 1024px;
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    border: 1px solid #000;
    border-radius: 20px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-top: 25px;    
    padding: 10px;    
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


.JobHunterDiaryBeforeAndAfter img {
    width: 100%;
    height: 100%;    
    border-radius: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
}

.linkMenu {
    display: flex;
    justify-content: flex-end;
    align-items: center;      
    max-width: 100%;
    background-color: #ffffffb4;
    padding: 10px 20px;
    box-shadow: 5px 7px 7px rgba(240, 239, 239, 0.958);
    border-radius: 20px;
    white-space: nowrap;
    overflow: hidden;
    margin-left: 16px;
    height: 60px; /* Set a fixed height for consistent vertical centering */
}

.linkMenu ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    height: 100%; /* Take full height of parent */
    
    
}

.linkMenu ul li {
    margin: 0;
    padding: 0;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%; /* Take full height of parent */
}

.linkMenu ul li span {
    display: flex;
    align-items: center;
    font-size: 1.0em;
    font-weight: bold;
    color: #333;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 100%; /* Take full height of parent */
}

.linkMenu ul li span a {    
    color: #333;
    text-decoration: none;
    padding: 8px 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 95%; /* Take full height of parent */
}

.linkMenu ul li span a:hover {    
    background-color: #f0f0f0;
    box-shadow: 0px 2px 4px rgba(148, 147, 147, 0.867);
    border-radius: 20px;
}

