﻿

.fht-table th {
    margin: 0;
    
	padding: 0;

	font-size: 100%;
	font: inherit;
	vertical-align: top;
	white-space: normal;
	margin-bottom: 5px;
    font-weight: bold;
    color: #000;
    background-color: #fff;	
    height: 60px;
	}

.fht-table {
    border-collapse: collapse;
    border-spacing: 0;
	}


.fht-table-wrapper,
.fht-table-wrapper .fht-thead,
.fht-table-wrapper .fht-tfoot,
.fht-table-wrapper .fht-fixed-column .fht-tbody,
.fht-table-wrapper .fht-fixed-body .fht-tbody,
.fht-table-wrapper .fht-tbody {
	/* appearance */
	overflow: hidden;
	
	/* position */
	position: relative;
	}

	.fht-table-wrapper .fht-fixed-body .fht-tbody,
	.fht-table-wrapper .fht-tbody {
		/* appearance */
	    overflow: auto;
		}

		.fht-table-wrapper .fht-table .fht-cell {
			/* appearance */
			overflow: hidden;
			
			/* size */
		    height: 1px;
			}
	
	.fht-table-wrapper .fht-fixed-column,
	.fht-table-wrapper .fht-fixed-body {
	    /* position */
	    top: 0;
	    left: 0;
	    position: absolute;
	    }
	    
	.fht-table-wrapper .fht-fixed-column {
	    /* position */
	    z-index: 1;
	    }

#assigneeSelect, #approverSelect {
	appearance: none;
	font-size: 16px;
	padding: 10px 36px 10px 12px; /* ostavljeno mjesto za strelicu */
	line-height: 1.6;
	height: auto;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
	width: 100%;
	background-color: white;
	background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px 16px;
}

	#assigneeSelect.error, #approverSelect.error {
		border: 2px solid red;
		background-color: #ffe6e6;
	}

.messagesGrid .message-card {
	max-width: 600px; /* širina mjehurića */
	margin: 10px 0;
	padding: 12px 16px;
	border-radius: 16px;
	background-color: #f1f1f1;
	position: relative;
	word-wrap: break-word;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.messagesGrid .message-header {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #333;
}

.messagesGrid .message-body {
	font-size: 15px;
	line-height: 1.4;
	color: #111;
	margin-bottom: 10px;
}

.messagesGrid .message-footer {
	font-size: 12px;
	color: #777;
	text-align: right;
}

.messagesGrid .message-card:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 20px;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-top-color: #f1f1f1; /* boja balončića */
	border-bottom: 0;
	border-left: 0;
	margin-bottom: -10px;
}

.one-column-form {
	display: flex;
	flex-direction: column;
	width: 300px;
	gap: 12px;
}

.two-column-form {
	width: 700px;
	display: flex;
	gap: 40px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.left-column {
	flex: 2;
	min-width: 300px;
	display: flex;
	flex-direction: column;
}

.right-column {
	flex: 1;
	min-width: 200px;
}

#participantsSelect {
	width: 100%;
	min-height: 255px;
	font-size: 14px;
	padding: 8px;
	border-radius: 6px;
	border: 1px solid #ccc;
	background-color: white;
	box-sizing: border-box;
}

.required {
	color: red;
	font-weight: bold;
}

.finishButton {
	margin-left: 6px;
	padding: 4px 8px;
	background-color: #28a745;
	color: white;
	font-weight: bold;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

	.finishButton:hover {
		background-color: #218838;
	}

#taskModalTitle {
	margin-bottom: 25px;
}

#projectModalTitle {
	margin-bottom: 25px;
}

.toDo {
	height: calc(100vh - 300px); /* prilagodi ovisno o visini headera, filtera itd. */
	overflow: hidden;
}

#mainLayout {
	height: 100%;
	width: 92%;
	table-layout: fixed;
}

	#mainLayout .grid-row td {
		height: 100%;
		vertical-align: top;
	}

.scrollable-cell {
	height: 100%;
	overflow-y: auto;
	padding-right: 5px;
}

.scrollable-cell-task {
	height: 100%;
	overflow-y: auto;
	padding-right: 5px;
}

.tasksList {
	display: block; /* da zauzme puni red */
	max-height: 100px; /* maksimalna visina, prilagodi po potrebi */
	overflow-y: auto; /* vertikalni scroll */
	overflow-x: hidden; /* spriječi horizontalni scroll */
	border: 1px solid #ccc; /* opcionalno: da bude vizualno odvojeno */
	padding: 5px; /* razmak od ruba */
	background-color: #fff; /* opcionalno: bijela pozadina */
	width: 660px;
}

.modalHome ul {
	display: block;
	list-style-type: disc;
	margin-block-start: 0px;
	margin-block-end: 0px;
	padding-inline-start: 15px;
	unicode-bidi: isolate;
}

.modalHome li {
	margin: 4px; /* razmak između stavki */
	line-height: 1.3; /* zbijeniji redovi */
}

.gridRow {
	border-bottom: 1px solid #465C82;
	background-color: #333333 !important;
	color: #fff !important;
	white-space: normal;
	user-select: text !important;
	-webkit-user-select: text !important;
	-moz-user-select: text !important;
}

.gridAltRow {
	border-bottom: 1px solid #465C82;
	background-color: #333333 !important;
	color: #fff !important;
	white-space: normal;
	user-select: text !important;
	-webkit-user-select: text !important;
	-moz-user-select: text !important;
}

	.gridRow a:link, .gridRow a:visited {
		color: blue;
		white-space: normal;
	}

.gridAltRow a:link, .gridAltRow a:visited {
	color: blue;
	white-space: normal;
}

.grid caption, .grid2 caption, .grid3 caption {
	text-align: center;
	font-weight: bold;
	padding: 4px;
	color: #FFF;
	background-color: #4F6E8B;
}

.grid tr:hover td {
	cursor: pointer;
	background-color: #e3e1e1 !important;
	color: black !important;
}

.grid tr.selected td {
	background-color: #fff7cc !important;
}

.grid th, .grid2 th, .gridPreplate th {
	font-weight: bold;
	color: #333;
	background-color: #e9e9e9;
	border: solid 1px gray;
	text-align: center;
	white-space: normal;
	padding: 10px;
}

.grid3 th {
	font-weight: bold;
	color: #333;
	background-color: #e9e9e9;
	border: solid 1px gray;
	white-space: normal;
	padding: 10px;
}


.gridFooter {
	font-weight: bold;
	color: #333;
	background-color: #e9e9e9;
	border: solid 1px gray;
	white-space: normal;
	padding: 10px;
}

.grid td {
	border: solid 1px gray;
	padding: 3px 10px 3px 10px;
	background-color: #fff;
	color: #000;
}

	.grid td h2 {
		color: #333;
	}

.grid2 td h2 {
	color: #333;
}

.grid3 td h2 {
	color: #333;
}

.grid2 td, .gridPreplate td {
	border: solid 1px gray;
	padding: 3px 10px 3px 10px;
	text-align: center;
	background-color: #fff !important;
	color: #000 !important;
}

.grid2 a:link, .grid2 a:visited {
	background-color: #fff !important;
	color: #0000EE !important;
}

.grid3 a:link, .grid3 a:visited {
	background-color: #fff !important;
	color: #0000EE !important;
}

.gridPager {
	border: solid 1px gray;
}

	.gridPager td {
		border: none;
		padding: 3px 3px 3px 0px;
	}

th.Right, td.Right {
	text-align: right;
}

.gridMail {
	table-layout: fixed;
	width: 630px;
}

	.gridMail .Shorter {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

.mailGridHeader {
	background-color: #E9E9E9;
	color: black;
	font-weight: bold;
	border: solid 1px gray;
}

.mailGridRead {
	border: solid 1px gray;
	background-color: #FFFFE6;
	color: black;
	white-space: normal;
	font-weight: normal;
}

.mailGridUnRead {
	border: solid 1px gray;
	background-color: #FFFFE6;
	color: black;
	white-space: normal;
	font-weight: bold;
}

.gridAltRow2 {
	border-bottom: 1px solid #465C82;
	background-color: gray;
	color: #000;
	font-size: 30px;
}

.gridAltRow3 {
	border: 0px solid #FFF;
	color: #284775;
}

.gridAltRow4 {
	height: 50px;
	border-bottom: 1px solid #465C82;
	background-color: #FFF;
	color: #284775;
}

.gridPager a {
	text-decoration: none;
}

	.gridPager a:hover {
		text-decoration: underline;
	}

	.gridPager a:link {
		font-size: 15px;
		padding: 2px 5px;
		background-color: #EBECEE;
		border: 1px solid #B5BAC0;
		border-radius: 5px;
	}

.gridPager span {
	font-size: 15px;
	background-color: #465C82;
	border: 1px solid #465C82;
	color: #FFFFFF;
	padding: 2px 5px;
	border-radius: 5px;
}

.grid2 tr:hover td {
	cursor: pointer;
	background-color: #e3e1e1 !important;
	color: black !important;
}

.grid3 tr:hover td {
	cursor: pointer;
	background-color: #e3e1e1 !important;
	color: black !important;
}

.headerStyle {
	color: #fff;
}

.gridRow2 {
	border-bottom: 1px solid #465C82;
	font-size: 30px;
	background-color: #333333 !important;
	color: #fff !important;
	user-select: text !important;
	-webkit-user-select: text !important;
	-moz-user-select: text !important;
}

.gridRow3 {
	border: 0px solid #FFF;
	background-color: #333333 !important;
	color: #fff !important;
	user-select: text !important;
	-webkit-user-select: text !important;
	-moz-user-select: text !important;
}

.gridRow4 {
	height: 50px;
	border-bottom: 1px solid #465C82;
	background-color: #333333 !important;
	color: #fff !important;
	user-select: text !important;
	-webkit-user-select: text !important;
	-moz-user-select: text !important;
}

.gridWithNoBorders {
	border: solid 1px #fff;
}

	.gridWithNoBorders td {
		border: solid 1px #fff !important;
		color: #fff;
	}

a:hover {
	color: #fff;
	text-decoration: underline;
}

table.ASDAtableFields a,
table.ASDAtableFields a:link,
table.ASDAtableFields a:visited,
table.ASDAtableFields a:hover,
table.ASDAtableFields a:active {
	color: #fff;
	white-space: normal;
}


.level-row {
	display: flex;
	align-items: flex-start;
}

.level-label {
	font-weight: bold;
	text-align: right;
	padding-right: 10px;
	color: #bbb;
}

.level-templates {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.template-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 10px 14px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	min-width: 180px;
	color: #000;
}

	.template-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	}

.card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
}

.card-actions {
	display: flex;
	gap: 6px;
}

	.card-actions button {
		background: transparent;
		border: none;
		cursor: pointer;
		font-size: 14px;
		padding: 2px 4px;
	}

.edit-btn {
	color: #0066cc;
}

	.edit-btn:hover {
		color: #004080;
		font-weight: bold;
	}

.delete-btn {
	color: #c00;
}

	.delete-btn:hover {
		color: #f00;
		font-weight: bold;
	}

#templateFlowContainer {
	display: grid;
	grid-template-columns: 150px repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
	margin: 20px;
}

.time-inputs {
	display: flex;
	gap: 8px;
	align-items: center;
}

	.time-inputs input {
		width: 60px;
		text-align: right;
	}

.maskPwd {
	-webkit-text-security: disc; /* Chrome/Safari/Edge */
	text-security: disc; /* fallback gdje postoji */
}

.verify-container {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-align: center;
}

.verify-container h2 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.verify-container input[type="text"] {
    width: 100px;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.verify-container input[type="text"]:focus {
    border-color: #0078d7; /* plava */
	width: 100px;
}

.verify-container input[type="submit"], 
.verify-container button, 
.verify-container .aspNet-Button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: #0078d7;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.verify-container input[type="submit"]:hover,
.verify-container button:hover {
    background: #005fa3;
}

.verify-container .message {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: red;
}

.secondary-link,
.secondary-link:link,
.secondary-link:visited {
	color: #0078d7 !important;
	text-decoration: underline;
	font-size: 14px;
}

	.secondary-link:hover {
		color: #005fa3 !important;
	}