body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #35424a;
    color: #ffffff;
    min-height: 70px;
    border-bottom: #e8491d 5px solid;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.sidebar {
    float: right;
    width: 20%;
    background-color: #ffffff;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.user-panel-form {
    background-color: #ffffff;
    box-sizing: border-box;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 16px;
    line-height: 1.6;
}

.sidebar h3 {
    color: #35424a;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8491d;
}

.services-list {
    list-style: none;
    padding-left: 0;
}

.services-list li {
    margin-bottom: 10px;
    padding-left: 36px;
    position: relative;
}

.services-list i {
    position: absolute;
    left: 0; 
    top: 50%;
    transform: translateY(-50%); 
    color: #e8491d; 
    font-size: 18px;
}

footer {
    background-color: #35424a;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.footer-links {
    font-weight: bold;
    color: #ffff;
    font-family: 'Font Awesome 5 Free';
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.login-container, .user-panel-container {
    width: 100%;
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.login-form .form-group, .user-panel-form .form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #35424a;
}

.form-group input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.form-group textarea {
    width: 100%;
    height: 200px; 
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    resize: vertical;
}

.reason {
    color: #FF6347; 
    background-color: #FFE4E1;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-style: italic;
}

.login-form button, .user-panel-form button {
    width: 100%;
    padding: 10px;
    background-color: #35424a;
    color: #ffffff; 
    border: none; 
    border-radius: 5px;
    cursor: pointer; 
    font-size: 16px;
}

button:hover {
    background-color: #2c3e50;
}

a {
    color: #35424a;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.form-group select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
}

#update-info-toggle {
    cursor: pointer;
    color: #007bff;
}

#update-info-toggle:hover {
    text-decoration: underline;
}

.naglowek {
    color: #e8491d; 
    font-size: 25px; 
    font-weight: bold; 
    padding: 12px 24px; 
    /* position: relative; */
    top: 8px; 
    max-width: 100%; 
    left: 0;
    right: 0;
    margin: auto; 
    text-align: center;
    background-color: #35424a; 
    border-radius: 10px; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); 
    font-family: 'Arial', sans-serif; 
    letter-spacing: 1px; 
    line-height: 1.4; 
}

.main-container {
    display: flex;
    min-height: 100vh; 
}

.sidebar-panel {
    width: 250px; 
    background-color: #ffffff;
    padding: 20px;
    border-right: 2px solid #ccc;
}

.content-panel {
    flex-grow: 1;
    background-color: #333333;
    color: #ffffff;
    padding: 20px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logout-btn {
    display: inline-block;
    background-color: #e8491d;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
}

.logout-btn:hover {
    background-color: #cc3d15;
}

.t {
    display: inline-block;
    background-image: linear-gradient(to right, #e8491d, #e8851d);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none; 
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease-in-out; 
    letter-spacing: 0.05em;
}

.t:hover {
    background-image: linear-gradient(to right, #e8851d, #e8491d);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); 
    transform: translateY(-2px);
}

.accepted {
    display: block;
    background-image: linear-gradient(to right, #62e81d, #2f6605);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none; 
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease-in-out; 
    letter-spacing: 0.05em;
    margin-top: 10px;
}

.accepted:hover {
    background-image: linear-gradient(to right, #2f6605, #62e81d);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); 
    transform: translateY(-2px);
}

.delete {
    display: block;
    background-image: linear-gradient(to right, #fb1902, #a9241d);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none; 
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease-in-out; 
    letter-spacing: 0.05em;
    margin-top: 10px;
}

.delete:hover {
    background-image: linear-gradient(to right, #a9241d, #fb1902);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); 
    transform: translateY(-2px);
}

.view {
    display: inline-block;
    background-image: linear-gradient(to right, #0221fb, #051a66);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none; 
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease-in-out; 
    letter-spacing: 0.05em;
}

.view:hover {
    background-image: linear-gradient(to right, #051a66, #0221fb);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); 
    transform: translateY(-2px);
}

nav {
    background-color: #35424a;
    color: #ffffff;
    padding: 15px;
    text-align: center;
}

nav ul {
    padding: 0;
    list-style: none;
}

nav ul li {
    display: inline;
    margin-left: 20px;
}

nav ul li a {
    display: inline-block;
    background-image: linear-gradient(to right, #e8491d, #e8851d);
    color: #ffffff; 
    padding: 10px 20px;
    border-radius: 5px; 
    text-decoration: none; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 500; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease-in-out; 
    letter-spacing: 0.05em;
}

nav ul li a:hover {
    background-image: linear-gradient(to right, #e8851d, #e8491d); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); 
    transform: translateY(-2px); 
}

.navbar {
    background-color: #35424a;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.navbar-toggler {
    display: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.navbar-toggler-icon {
    background-image: url('/login/a.png');
    width: 30px;
    height: 30px;
    background-size: cover;
}

.navbar-collapse {
    display: flex;
    justify-content: flex-end;
}

.navbar-nav {
    list-style: none;
    display: flex;
}

.nav-item {
    margin: 0 10px;
}

.nav-link {
    text-decoration: none;
    color: white;
}

.btn {
	width: 90%;
    display: inline-block;
    background-image: linear-gradient(to right, #e8491d, #e8851d); 
    color: #ffffff; 
    padding: 10px 20px;
    border-radius: 5px; 
    text-decoration: none; 
    text-align: center;
    font-family: 'Montserrat', sans-serif; 
    font-weight: 500; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease-in-out; 
    letter-spacing: 0.05em; 
}

.btn:hover {
    background-image: linear-gradient(to right, #e8851d, #e8491d); 
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); 
    transform: translateY(-2px);
}

.photo_container {
    background-color: #f4f4f4;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.photo_container h2 {
    color: #35424a; 
}

.main-content {
    width: 75%;
    box-sizing: border-box;
    margin-top: 10px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.job-posting-container {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.posted-jobs {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-delete {
    background-color: #e8491d;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.btn-delete:hover {
    background-color: #cf4015;
}

.jobs-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0;
}

.job {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-basis: calc(20% - 20px);
    box-sizing: border-box;
    max-width: calc(30% - 30px);	
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.jobb {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-basis: calc(20% - 20px);
    box-sizing: border-box;
    max-width: calc(20% - 20px);	
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;	
}

.job h4, .job p {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jobb h4, .jobb p {
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pagination-container {
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 0;
  display: flex;
  align-content: center;
  justify-content: center;  
}

.pagination-link {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  background-color: #e8491d;
  color: white;
  border-radius: 5px;
  text-decoration: none;
}

.pagination-link:hover {
  background-color: #cc3d15;
}

.pagination-link.active {
  background-color: #a9241d;
}

@media (max-width: 768px) {
    .sidebar, .user-panel-form, .main-content {
        float: none;
        width: auto;
        margin: 20px auto;
    }

    .container, .header .container {
        flex-direction: column;
        width: 90%;
    }

    .login-container, .user-panel-container, .sidebar-panel, .content-panel {
        width: auto;
        margin: 20px;
    }

    .pagination-link {
        padding: 6px 12px;
        margin: 0 2px;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }
	
    .job {
        flex-basis: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
	
    .job h4, .job p {
        font-size: 16px;
    }
	
    .jobb {
        flex-basis: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
	
    .jobb h4, .jobb p {
        font-size: 16px;
    }	
}

@media (max-width: 480px) {
    .form-group input, .form-group select, .login-form button, .user-panel-form button {
        padding: 15px;
    }

    .services-list li {
        padding-left: 20px;
    }

    .sidebar h3, .form-group label, button, a {
        font-size: smaller;
    }

    .pagination-link {
        padding: 4px 8px;
    }
	
    .job {
        flex-basis: 100%;
		max-width: 100%;
    }
	
    .job h4, .job p {
        font-size: 14px;
    }
	
    .jobb {
        flex-basis: 100%;
		max-width: 100%;
    }
	
    .jobb h4, .jobb p {
        font-size: 14px;
    }	
}
