/*
* Tinman.css | v2.0.0 | MIT | 2026
* Copyright 2026, Selwyn Orren @ Linuxweb
* Free to use under the MIT license.
* https://opensource.org/licenses/MIT
* Based on Skeleton, Copyright 2011-2014 Dave Gamache, MIT
*/

/* Root Colouring
––––––––––––––––––––––––––––––––––––––––––––––––––
Every token is light-dark(light value, dark value). Which one is used depends
on color-scheme:
- Automatic: follows the visitor's operating system or browser setting.
- Forced: put data-theme="light" or data-theme="dark" on the <html> element. */
/* Kaizen palette. Dark values are the colours of the original design (deep
   ink ground, blurple accent); the light values are their daytime pair. */
:root {
	color-scheme: light dark;

	--primary: light-dark(#5D5294, #9184D9);         /* link text, 7.4:1 on the light ground and 5.4:1 on the dark */
	--primary-hover: light-dark(#423A6A, #B5ABFC);
	--accent: light-dark(#9184D9, #9184D9);         /* fills: buttons */
	--accent-hover: light-dark(#7A6DC4, #B5ABFC);
	--on-accent: light-dark(#14151F, #161826);      /* label on an accent button, 5.6:1 on the fill */
	--secondary: light-dark(#5A5C70, #B9BBC9);
	--secondary-hover: light-dark(#14151F, #FFFFFF);
	--tertiary: light-dark(#CFCCE2, #44485C);
	--tertiary-hover: light-dark(#B7B3D2, #5A5F78);
	--body: light-dark(#22223A, #E9E9ED);
	--background: light-dark(#FBFAFE, #161826);

	--surface: light-dark(#FFFFFF, #232532);        /* cards and form fields */
	--surface-soft: light-dark(#F1EFFA, #2A2D3D);
	--surface-faint: light-dark(#F5F3FC, #1C1E2D);  /* blockquote */
	--surface-hover: light-dark(#EBE8F7, #2D3043);
	--line: light-dark(#E2DFF0, #34374A);           /* rules and borders */
	--line-strong: light-dark(#B7B3D2, #55597A);    /* blockquote bar and quote mark */
	--muted: light-dark(#6B6D80, #9A9DB3);          /* blockquote cite */

	--band: light-dark(#ECE9FA, #262A60);           /* full-width feature band */
	--eyebrow: light-dark(#5D5294, #D2CEFD);        /* small uppercase labels */
	--emblem-ground: light-dark(transparent, #FFFFFF); /* tile behind the logo emblem: the navy needs a light ground in the dark theme */
	--glow: light-dark(#9184D9, #9184D9);           /* soft hero light, mixed down to a tint where used */

	--info-bg: light-dark(#e5f5f9, #12303A);
	--info-line: light-dark(#cae0e5, #1F4A57);
	--info-text: light-dark(#3F7A8B, #7CC3D4);
	--confirm-bg: light-dark(#e7fae6, #16301A);
	--confirm-line: light-dark(#b7cbb6, #27502B);
	--confirm-text: light-dark(#3C7A39, #7FC47B);
	--error-bg: light-dark(#fde8e4, #3A1A14);
	--error-line: light-dark(#e6bbb3, #5C2B22);
	--error-text: light-dark(#b3361a, #F07A5E);
	--warning-bg: light-dark(#fdf7e4, #352C10);
	--warning-line: light-dark(#e5d9b2, #5A4A1A);
	--warning-text: light-dark(#8c6b00, #E0B84E);

	--tooltip-bg: light-dark(rgba(0,0,0,.8), #E4E4E4);
	--tooltip-text: light-dark(#ffffff, #161826);
	--tooltip-arrow: light-dark(#333333, #E4E4E4);
}

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"]  { color-scheme: dark; }

/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body {
	color: var(--body);
	background: var(--background);
}

/* Text link Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
	color: var(--primary); }

a:hover {
	color: var(--primary-hover); }

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	color: var(--secondary);
	border-color: var(--secondary);
}
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
	color: var(--secondary-hover);
	border-color: var(--secondary-hover);
}

/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="date"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
	background-color: var(--surface);
	border-color: var(--tertiary);
}
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
	border-color: var(--primary);
}
.information-box {
		background-color: var(--info-bg);
		border-color: var(--info-line);
		color: var(--info-text);
}

.confirmation-box {
		background-color: var(--confirm-bg);
		border-color: var(--confirm-line);
		color: var(--confirm-text);
}

.error-box {
		background-color: var(--error-bg);
		border-color: var(--error-line);
		color: var(--error-text);
}

.warning-box {
		background-color: var(--warning-bg);
		border-color: var(--warning-line);
		color: var(--warning-text);
}

/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
	background: var(--surface-soft);
	border-color: var(--line);
}

/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
td, th {
	border-bottom-color: var(--line); }

thead {
	background: #333;
	color: #fff;
	border-radius: 5px 5px 0 0;
}

tbody tr:hover,
tbody tr:nth-child(even):hover,
tbody tr:hover,
tbody tr:nth-child(odd):hover {
	background-color: var(--surface-hover);
}

tr:nth-child(even) { background: var(--surface-faint); }

/* Blockquote
–––––––––––––––––––––––––––––––––––––––––––––––––– */
blockquote {
	background: var(--surface-faint);
	border-left-color: var(--line-strong);
}
blockquote:before {
	color: var(--line-strong);
}
blockquote cite {
	color: var(--muted);
}

/* Tooltip
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.tooltip:hover:after {
	background: var(--tooltip-bg);
	color: var(--tooltip-text);
}
.tooltip:hover:before {
	border-color: var(--tooltip-arrow) transparent;
}

/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
	border-top-color: var(--line); }


/* Custom link/text colors
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.white									{ color: #ffffff; }
.grey										{ color: #f9f9f9; }
.grey2									{ color: #f1f1f1; }
.greydark								{ color: #495052; }
.greydark2							{ color: #404547; }
.green									{ color: #6fc191; }
.blue										{ color: #74cee4; }
.violet									{ color: #c389ce; }
.orange									{ color: #ec774b; }
.red										{ color: #e16c6c; }
.pink										{ color: #efa7c9; }
.yellow									{ color: #edbf47; }
.greendark							{ color: #3e815a; }
.bluedark								{ color: #267e94; }
.violetdark							{ color: #9b5da6; }
.orangedark							{ color: #c45024; }
.reddark								{ color: #bf5151; }
.yellowdark							{ color: #91701a; }
.pinkdark							{ color: #c94181; }

/* Every text colour changes on hover, a step darker in the same hue */
a:hover.white						{ color: #e6e6e6; }
a:hover.grey						{ color: #CCCCCC; }
a:hover.grey2						{ color: #d9d9d9; }
a:hover.greydark						{ color: #2E3233; }
a:hover.greydark2						{ color: #2b2f30; }
a:hover.green						{ color: #61A87E; }
a:hover.blue						{ color: #66B6CA; }
a:hover.violet						{ color: #AC78B5; }
a:hover.orange						{ color: #D46B43; }
a:hover.red						{ color: #C75F5F; }
a:hover.pink						{ color: #d796b4; }
a:hover.yellow						{ color: #D4AB3F; }
a:hover.greendark						{ color: #336949; }
a:hover.bluedark						{ color: #1f6677; }
a:hover.violetdark						{ color: #864f90; }
a:hover.orangedark						{ color: #a6441f; }
a:hover.reddark						{ color: #ad3f3f; }
a:hover.pinkdark						{ color: #b3336f; }
a:hover.yellowdark						{ color: #725814; }

/* Standard Background Colours*/
.bg_white								{ background-color: #ffffff; }
.bg_grey								{ background-color: #f9f9f9; }
.bg_grey2								{ background-color: #f1f1f1; }
.bg_greydark						{ background-color: #495052;}
.bg_greydark2						{ background-color: #404547;}
.bg_green								{ background-color: #6fc191; }
.bg_blue								{ background-color: #74cee4; }
.bg_violet							{ background-color: #c389ce; }
.bg_orange							{ background-color: #ec774b; }
.bg_red									{ background-color: #e16c6c; }
.bg_pink								{ background-color: #efa7c9; }
.bg_yellow							{ background-color: #edbf47; }
.bg_greendark						{ background-color: #3e815a; }
.bg_bluedark						{ background-color: #267e94; }
.bg_violetdark					{ background-color: #9b5da6; }
.bg_orangedark					{ background-color: #c45024; }
.bg_reddark							{ background-color: #bf5151; }
.bg_yellowdark					{ background-color: #91701a; }
.bg_pinkdark					{ background-color: #c94181; }

.bg_gradient						{
													background: #74cee4; /* Old browsers */ /* FF3.6+ */ /* Chrome,Safari4+ */ /* Chrome10+,Safari5.1+ */ /* Opera 11.10+ */ /* IE10+ */
													background: -webkit-gradient(linear,  left top, right top,  from(#74cee4),color-stop(16%, #66ce9c),color-stop(32%, #edbf47),color-stop(49%, #ec774b),color-stop(65%, #74cee4),color-stop(83%, #66ce9c),to(#edbf47));
													background: linear-gradient(to right,  #74cee4 0%,#66ce9c 16%,#edbf47 32%,#ec774b 49%,#74cee4 65%,#66ce9c 83%,#edbf47 100%); /* W3C */
													filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#74cee4', endColorstr='#edbf47',GradientType=1 ); /* IE6-9 */
												}

/* Button colors and hover effects */
.button-white 					{ color: #6f6f6f !important; background-color: #ffffff !important; border-color: #6f6f6f !important; }
.button-white:hover 		{ color: #222222 !important; background-color: #ffffff !important; border-color: #6f6f6f !important; }

.button-grey 						{ color: #6f6f6f !important; background-color: #f1f1f1 !important; border-color: #f1f1f1 !important; }
.button-grey:hover 			{ color: #6f6f6f !important; background-color: #CCCCCC !important; border-color: #CCCCCC !important; }

.button-greydark 				{ color: #ffffff !important; background-color: #495052 !important; border-color: #495052 !important; }
.button-greydark:hover	{ color: #ffffff !important; background-color: #2E3233 !important; border-color: #2E3233 !important; }

.button-green 					{ color: #ffffff !important; background-color: #6fc191 !important; border-color: #6fc191 !important; }
.button-green:hover 		{ color: #ffffff !important; background-color: #61A87E !important; border-color: #61A87E !important; }

.button-blue 						{ color: #ffffff !important; background-color: #74cee4 !important; border-color: #74cee4 !important; }
.button-blue:hover 			{ color: #ffffff !important; background-color: #66B6CA !important; border-color: #66B6CA !important; }

.button-violet 					{ color: #ffffff !important; background-color: #c389ce !important; border-color: #c389ce !important; }
.button-violet:hover 		{ color: #ffffff !important; background-color: #AC78B5 !important; border-color: #AC78B5 !important; }

.button-orange 					{ color: #ffffff !important; background-color: #ec774b !important; border-color: #ec774b !important; }
.button-orange:hover 		{ color: #ffffff !important; background-color: #D46B43 !important; border-color: #D46B43 !important; }

.button-red							{ color: #ffffff !important; background-color: #e16c6c !important; border-color: #e16c6c !important; }
.button-red:hover 			{ color: #ffffff !important; background-color: #C75F5F !important; border-color: #C75F5F !important; }

.button-pink						{ color: #ffffff !important; background-color: #efa7c9 !important; border-color: #efa7c9 !important; }
.button-pink:hover			{ color: #ffffff !important; background-color: #d796b4 !important; border-color: #d796b4 !important; }

.button-yellow					{ color: #ffffff !important; background-color: #edbf47 !important; border-color: #edbf47 !important; }
.button-yellow:hover		{ color: #ffffff !important; background-color: #D4AB3F !important; border-color: #D4AB3F !important; }

.button-info						{ color: var(--on-accent) !important; background-color: var(--accent) !important; border-color: var(--accent) !important; }
.button-info:hover			{ color: var(--on-accent) !important; background-color: var(--accent-hover) !important; border-color: var(--accent-hover) !important; }

.button-error						{ color: #ffffff !important; background-color: #F44336 !important; border-color: #F44336 !important; }
.button-error:hover			{ color: #ffffff !important; background-color: #ea1c0d !important; border-color: #ea1c0d !important; }

.button-warning					{ color: #ffffff !important; background-color: #FFA726 !important; border-color: #FFA726 !important; }
.button-warning:hover		{ color: #ffffff !important; background-color: #f29000 !important; border-color: #f29000 !important; }

.button-success					{ color: #ffffff !important; background-color: #8BC34A !important; border-color: #8BC34A !important; }
.button-success:hover		{ color: #ffffff !important; background-color: #71a436 !important; border-color: #71a436 !important; }
