body.login {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
}

.login-header {
    background: linear-gradient(to right, #D4DFFB, #CFDAF4);
    color: #333;
    padding: 30px 20px;
    text-align: center;
}

.login-header h2 {
    margin: 0;
    font-weight: 600;
}

.login-header p {
    margin: 10px 0 0;
    opacity: 0.9;
}

.login-body {
    padding: 30px;
}

.form-control:focus {
    border-color: #A3A3A3;
    box-shadow: 0 0 0 0.25rem rgba(74, 111, 165, 0.25);
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.form-control {
    border-left: none;
}

.btn-login {
    background: linear-gradient(to right, #3a5a8c, #2a4a7c);
    border: none;
    color: white;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-login:hover {
    background: linear-gradient(to right, #D4DFFB, #CFDAF4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.login-footer {
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.login-footer a {
    color: #7A7A7A;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

.alert {
    border-radius: 8px;
    margin-bottom: 20px;
}

.password-toggle {
    cursor: pointer;
    color: #6c757d;
}

.password-toggle:hover {
    color: #7A7A7A;
}

.logo {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

/* Animacje */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.logo_pic {
    width: 150px;
}

.logo_pic_nav {
    width: 120px;
}

body.offerlist {
	background-color: #f8f9fa;
}

.offerlist-header {
	background: linear-gradient(to right, #D4DFFB, #CFDAF4);
	color: #333;
	padding: 10px;
	margin-bottom: 30px;
	border-radius: 5px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.offerlist-card {
	transition: transform 0.3s, box-shadow 0.3s;
	border: none;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 15px;
}
.offerlist-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.offerlist-number {
	background-color: #A3A3A3;
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	margin-right: 15px;
}
.btn-edit {
	background-color: #4CAF50;
	color: white;
	border: none;
	padding: 8px 20px;
	border-radius: 5px;
	transition: background-color 0.3s;
}
.btn-edit:hover {
	background-color: #45a049;
}

.btn-danger.cardlist {
	background-color: #dc3545;
	color: white;
	border: none;
	padding: 8px 20px;
	border-radius: 5px;
	transition: background-color 0.3s;
}

.btn-danger.cardlist:hover {
	background-color: #d53044;
	color: black;
}

.offerlist-date {
	color: #6c757d;
	font-size: 0.9em;
}
.empty-state {
	text-align: center;
	padding: 50px 20px;
	color: #6c757d;
}
.empty-state i {
	font-size: 48px;
	margin-bottom: 20px;
	color: #dee2e6;
}
.search-box {
	max-width: 400px;
	margin: 0 auto 30px;
}

.contractor-details {
	background-color: #f8f9fa;
	border-radius: 5px;
	padding-left: 15px;
	padding-bottom: 10px;
	margin-top: 0px;
}
.product-list {
	margin-top: 20px;
}
.selected-products {
	margin-top: 20px;
}
.table th {
	background-color: #f8f9fa;
}
.autocomplete-results {
	position: absolute;
	background: white;
	border: 1px solid #ddd;
	max-height: 200px;
	overflow-y: auto;
	z-index: 1000;
	width: 100%;
}
.autocomplete-item {
	padding: 8px 12px;
	cursor: pointer;
}
.autocomplete-item:hover {
	background-color: #e8e9ea;
}

.kontrahent-data
{
	padding: 0;
	margin: 0;
}

.header-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.btn-outline-secondary{
	background-color: #ffffff;
	margin-left: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}
.logout-btn {
    display: flex;
    align-items: center;
    gap: 5px;
}
@media (max-width: 768px) {
    .header-actions {
		flex-direction: column;
		text-align: center;
    }
    .header-title {
		order: 2;
    }
    .back-button-container {
		order: 1;
		align-self: flex-start;
    }
    .logout-container {
		order: 3;
		align-self: flex-end;
		margin-top: -40px;
    }
    .user-info {
		font-size: 0.8rem;
		padding: 5px 10px;
    }
}

.bg-navM {
  background-color: #f0f0f0 !important;
}

.navbar {
    white-space: nowrap;
}

.logo_pic_nav {
    height: 35px;
}

.btn-light-grey {
    color: #333;
    background-color: #CCCCCC;
    border-color: #CCCCCC;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.offerlist-number-circle{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #A3A3A3;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}