@import url("https://fonts.googleapis.com/css?family=Rubik:700&display=swap");

* {
	box-sizing: border-box;
}
*::before, *::after {
	box-sizing: border-box;
}

body {
	font-family: "Rubik", sans-serif;
	font-size: 1.25rem;
	color: #382b22;
	line-height: 1.5;
	display: flex;
	flex-direction: column;
	align-items: center;
	/*justify-content: center; */
	margin: 0;
	min-height: 100vh;
	background-image: url("https://wallpapers.com/images/hd/pink-money-vcnvpfmb6mh7ackk.jpg");
}

h1 {
    	color: #382235;
    	font-weight: 700;
    	letter-spacing: -1px;
    	font-size: 2.5rem;
    	margin-bottom: 20px;
}
.flex-container-forgot {
  	margin: 25px 20px;
	margin-top: 0px;
}
.flex-container {
  	margin: 50px 20px;
	margin-top: 0px;
}



.nosaukums, .form-container-login, .main-wrapper {
   	padding: 10px 30px;
   	border-radius: 36px;
   	background: rgba(246, 229, 247, 0.95);
    	margin-top: 100px;
    	margin-bottom: 100px;
	margin-left: 230px;
	margin-right: 230px;
    	min-width: 367px;
   	text-align: center;
   	 
   	box-shadow: 0 10px 25px rgba(56, 34, 53, 0.9);
  
    	border: 1px solid rgba(255, 255, 255, 0.2);
 
    	box-sizing: border-box;
}

.sakuma-konteineris{
    	margin-bottom: auto;
	display: flex;
	flex-direction: column; 
	align-items: center; 
	
}

.admin-a {
	display: flex;
	flex-direction: column; 
	align-items: center; 
	color: #382b22;
	font-weight: 400;
	transition: transform 0.15s, color 0.15s;
  	transform-style: preserve-3d;
}
.admin-a:hover {
	color: #A34E85;
	font-weight: 600;
  	transform: scale(1.25);
} 

a.pagination{
	color: #382b22;
} 

a {
	position: relative;
	display: block;
	cursor: pointer;
	outline: none;
	border: 0;
	margin: 15px;
	color:rgb(250,250,229);
	text-decoration: none;
	font-size: inherit;
	font-family: inherit;
}

a.btn {
  	font-weight: 600;
  	color: #382b22;
  	text-transform: uppercase;
  	padding: 1.25em 2em;
  	margin: 35px;
  	background: #fff0f0;
  	border: 2px solid #b18597;
  	border-radius: 0.75em;
  	transition: transform 0.15s;
  	transform-style: preserve-3d;
}
a.btnatpakal {
	position:absolute;
	top: 15px;
	right: 2px;
  	font-weight: 600;
  	color: #382b22;
  	text-transform: uppercase;
  	padding: 0.2em 1.1em;
  	margin: 100px 35px;
  	background: #fff0f0;
  	border: 2px solid #b18597;
  	border-radius: 0.75em;
  	transition: transform 0.15s;
  	transform-style: preserve-3d;
}
a.btn::before, a.btnatpakal::before {
  	position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f9c4d2;
  border-radius: inherit;
  box-shadow: 0 0 0 2px #b18597, 0 0.625em 0 0 #ffe3e2;
  transform: translate3d(0, 0.75em, -1em);
  transition: transform 0.15s, box-shadow 0.15s;
}

a.btn:hover, a.btnatpakal:hover {
  	background: #ffe9e9;
  	transform: translate(0, 0.25em);
}
a.btn:hover::before, a.btnatpakal:hover::before {
  	box-shadow: 0 0 0 2px #b18597, 0 0.5em 0 0 #ffe3e2;
  	transform: translate3d(0, 0.5em, -1em);
}
a.btn:active, a.btnatpakal:active {
  	background: #ffe9e9;
  	transform: translate(0em, 0.75em);
}
a.btn:active::before, a.btnatpakal:active::before {
  	box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
  	transform: translate3d(0, 0, -1em);
}
a.btniziet {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #382b22;
    text-transform: uppercase;
    padding: 0.5em 1.2em;
    background: #fff0f0;
    border: 2px solid #b18597;
    border-radius: 0.75em;
    transform-style: preserve-3d;
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
    margin: 15px 15px; 
}

a.btniziet::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f9c4d2;
    border-radius: inherit;
    box-shadow: 0 0 0 2px #b18597, 0 0.4em 0 0 #ffe3e2;
    transform: translate3d(0, 0.5em, -1em);
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}

a.btniziet:hover {
    transform: translate(0, 0.2em);
    color: #382b22;
}

a.btniziet:hover::before {
    box-shadow: 0 0 0 2px #b18597, 0 0.25em 0 0 #ffe3e2;
    transform: translate3d(0, 0.25em, -1em);
}

a.btniziet:active {
    transform: translate(0em, 0.5em);
}

a.btniziet:active::before {
    box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
    transform: translate3d(0, 0, -1em);
}

.form-group-login label {
  	display: block;
    	text-align: center;
    	line-height: 150%;
    	font-size:  16px;
    	margin: 20px 2px 2px 2px;
}
.form-group-login input {
 	font-family: "Rubik", sans-serif;
 	width: 100%;
  	padding: 8px;
  	border: 1px solid #ddd;
  	border-radius: 4px;
  	box-sizing: border-box;
  	transition: 0.5s ease;
}

.dropbtnreg {
  	font-family: "Rubik", sans-serif;
  	background-color: #f9c4d2;
  	font-weight: 600;
  	color: #382b22;
  	border:3px solid #382b22;
  	border-radius: 0.75em;
  	transition: ease 0.15s;
  	transform-style: preserve-3d;
  	padding: 10px 15px;
  	font-size: 16px;
  	border: none;
  	cursor: pointer;
  	margin: 20px auto 0px 5px;
}
.dropbtnreg:hover {
  	background-color: #e9b2b0;
}

.searchbtn {
  	font-family: "Rubik", sans-serif;
  	background-color: #f9c4d2;
  	font-weight: 600;
  	color: #382b22;
  	border:3px solid #382b22;
  	border-radius: 0.75em;
  	transition: ease 0.15s;
  	transform-style: preserve-3d;
  	padding: 10px 15px;
  	margin:15px 0px 15px 0px;
  	font-size: 16px;
  	border: none;
  	cursor: pointer;
  	margin: 20px auto 0px auto;
}
.searchbtn.save{
	font-size: 25px;
}
.searchbtn:hover {
  	background-color: #e9b2b0;
}

ul li.active {
    background-color: #910F47; /* tāds pats kā uz hover */
    box-shadow: inset 0 -4px 0px white; /* Balta līnija apakšā akcentam */
}

/*teksts aktīvajā sadaļā ir spilgtāks */
ul li.active a {
    color: #ffffff;
    font-weight: bold;
}
ul {
  width: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #E3347E;
}

ul li {
  margin: 0;
  float: left;
}

ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

ul li:hover {
  background-color: #910F47;
  margin: 0;
}
ul li.nav-right {
    float: right;
}
ul li.nav-right:hover {
    background-color: transparent;
}

table, th, td {
  padding: 1px 20px;
  border: 1px solid #382b22;
  border-collapse: collapse;
}

thead {
	background-color:#F2A0D5;
}

tbody, .fails{
	font-weight: normal;
	font-size: 16px;
	color: #57463C;
}

.select-a {
	padding: 7px 12px;
	margin-bottom: 40px; 
}

tbody tr:hover, a.fails:hover{
	background-color:#E4CAE8;
	color: #453B36;
}

.status-message {
    padding: 20px;
    margin: 20px;
    border-radius: 15px;
    font-weight: bold;
    color: #CF280A;
    border: 2px solid #FAD0B1;

}

.status-message.success {
    color: #6EC730;
    background-color: #E6FCBD ;
    border: 1px solid #6EC730;
}


.status-message.error {
    color: #CF280A;
    background-color: #FAE3EF;
    border: 1px solid #CF280A;
}
.status-message strong {
    display:block;
    margin-bottom:5px;
    text-align:center;
    border: 2px solid #FAD0B1;
    border-radius: 10px;
    background-color:#FFF2E8; 
}

a.forgot_link, a.forgot_link p {
    color: #BF89C4;
    font-size: 13px;
    margin-top: 5px;
}

a.forgot_link p:hover, a.forgot_link:hover {
	color:#98579E;
	text-decoration: underline;
}



/* Informācijas bloks */
.user-info {
    text-align: left;
    background: #FFF5FE;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #ff69b4; /* Rozā līnija akcentam */
    margin-bottom: 20px;
}

.user-info p {
    margin: 12px 0;
    font-size: 16px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.user-info p:last-child {
    border-bottom: none;
}

.user-info strong {
    color: #333;
    width: 120px;
    display: inline-block;
}
.clickable-input {
    border: 1px solid transparent;
    background: transparent;
    font-size: inherit;
    font-family: inherit;
    color: #333;
    padding: 2px 5px;
    border-radius: 3px;
    transition: 0.2s;
    width: 180px;
}

.clickable-input:hover {
    background: rgba(0,0,0,0.05);
    border-color: #ccc;
    cursor: pointer;
}

.clickable-input:focus {
    background: #fff;
    border-color: #f9c4d2;
    outline: none;
    cursor: text;
}

/* Maza poga informācijas saglabāšanai */
.save-text-btn {
    font-family: "Rubik", sans-serif;
  	background-color: #f9c4d2;
  	font-weight: 600;
  	color: #382b22;
  	border:3px solid #382b22;
  	border-radius: 0.75em;
  	transition: ease 0.15s;
  	transform-style: preserve-3d;
  	padding: 10px 15px;
  	margin:15px 0px 15px 0px;
  	font-size: 16px;
  	border: none;
  	cursor: pointer;
  	display: block;
  	margin: 20px auto 0px auto;
}

.save-text-btn:hover {
    background-color:  #e9b2b0;
}


/* Responsivitāte mazākiem ekrāniem */
@media (max-width: 480px) {
    
    .user-info strong {
        display: block;
        margin-bottom: 5px;
    }
}

.inline {
	display: inline-flex;
}

.inline img{
	border-radius: 50%; 
	width: 80px;
	margin: 10px 20px 15px 0px;
}
.inline h2{
	margin:auto;
}

.inline2 {
	display: inline-flex;
	margin-top: 30px;
    	font-size: 15px;
}
.inline2 input{
	margin-right:10px;
}


.filtering {
	display: flex; 
	justify-content: space-between;
	align-items: center;
}

.filter {
	font-family: 'Rubik',sans-serif;
	font-size: 14,5pxs;
	color: grey;
	padding: 10px;
	width: 200px;
	border: 2px solid pink;
	border-radius: 5px; 
	background-color: #FFEDF3;	
}
.filter.assigned{
	font-family: 'Rubik',sans-serif;
	font-size: 14,5pxs;
	color: #474545;
	padding: 10px;
	width: 200px;
	border: 2px solid #8F8B8B;
	border-radius: 5px; 
	background-color: #D6CBCE;	
}

hr{
	margin-bottom: 35px;
}
.atstarpe {
	margin-bottom: 15px;
	font-size: 14px;
	color: #382b22;
	margin-top: 5px;
	font-style: italic;
}
.filter-row {
    display: flex; 
    flex-direction: row;   
    gap: 20px;              
    margin-bottom: 15px;    
}
.atstarpite {
    flex: 1;
    max-width: 300px; 
    display: flex;
    flex-direction: column;
    margin: 5px 15px 15px 0px;
    font-size: 14px;
    color: #382b22;
    font-style: italic; 
}

.avatar-upload{
	align-items:center;
	display:flex;
}

/* From Uiverse.io by jamrockjones */ 
.container {
  --transition: 350ms;
  --folder-W: 120px;
  --folder-H: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 10px;
  background: linear-gradient(135deg, #f162ba, #ed45ae);
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  height: calc(var(--folder-H) * 1.7);
  position: relative;
}

.folder {
  position: absolute;
  top: -20px;
  left: calc(50% - 60px);
  animation: float 2.5s infinite ease-in-out;
  transition: transform var(--transition) ease;
}

.folder:hover {
  transform: scale(1.05);
}

.folder .front-side,
.folder .back-side {
  position: absolute;
  transition: transform var(--transition);
  transform-origin: bottom center;
}

.folder .back-side::before,
.folder .back-side::after {
  content: "";
  display: block;
  background-color: white;
  opacity: 0.5;
  z-index: 0;
  width: var(--folder-W);
  height: var(--folder-H);
  position: absolute;
  transform-origin: bottom center;
  border-radius: 15px;
  transition: transform 350ms;
  z-index: 0;
}

.container:hover .back-side::before {
  transform: rotateX(-5deg) skewX(5deg);
}
.container:hover .back-side::after {
  transform: rotateX(-15deg) skewX(12deg);
}

.folder .front-side {
  z-index: 1;
}

.container:hover .front-side {
  transform: rotateX(-40deg) skewX(15deg);
}

.folder .tip {
  background: linear-gradient(135deg, #ff9a56, #ff6f56);
  width: 80px;
  height: 20px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: -10px;
  z-index: 2;
}

.folder .cover {
  background: linear-gradient(135deg, #ffe563, #ffc663);
  width: var(--folder-W);
  height: var(--folder-H);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.custom-file-upload {
  font-size: 1.1em;
  color: #ffffff;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background var(--transition) ease;
  display: inline-block;
  width: 100%;
  padding: 10px 35px;
  position: relative;
}

.custom-file-upload:hover {
  background: rgba(255, 255, 255, 0.4);
}

.custom-file-upload input[type="file"] {
  display: none;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}


textarea{
	width: 100%;
        max-width: 500px;
        height: 120px;
        padding: 8px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 4px;
        resize: vertical; /* Allow vertical resizing only */
}

td a{
	font-weight: normal;
	font-size: 16px;
	color: #57463C;
}
td a:hover {
	text-decoration: underline;
	color:#0478C7;
	transition: 0.15s;
}

tr.izpildits{
	font-weight: normal;
	font-size: 16px;
	background-color: #B5D479;
}
tr.izpildits:hover {
	text-decoration: underline;
	background-color:#CBE0A2;
	transition: 0.15s;
}
tr.steidzams, tr.steidzams a{
	font-weight: normal;
	font-size: 16px;
	background-color: #E0726C;
	color: #FFFFFF;
}
tr.steidzams:hover {
	text-decoration: underline;
	background-color:#F0AEAA;
	transition: 0.15s;
}

#ui-datepicker-div{
	background-color: #FFE3F5;
}
#ui-datepicker-div select{
	background-color: #F5E9F1;
	padding: 8px;
	margin-left: 15px;
	border: 1px solid #785C50;
	border-radius: 4px;
}
.ui-datepicker-header{
	display:flex;
	align-items:center;
}
#ui-datepicker-div a{
	color:#573D37;
}
#ui-datepicker-div a:hover{
	color:#785C50;
}
#last_task_info{
	font-size:14px;
	color:#DE745F; 
}
.pagination{
	display:inline-flex;
}

.star{
	color:#ff69b4;
}
.tab{
	background-color:#E4CAE8;
	color: #453B36;
}
.align-right{
	text-align: right;
}
.ongoing{
	color: #E0A31F;
}
.done{
	color: #77B83D;
}
#sortByQty{
	cursor:pointer;
}
.toggle-tasks{
	cursor:pointer;
}
.task-details td {
    font-size: 0.9em;
    color: #555;
    border-bottom: 1px solid #eee;
}

.toggle-tasks:hover {
    color: #E3347E;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    cursor:pointer;
}
.arrow.open {
    transform: rotate(90deg);
}