/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444;
}
.dashboard-header {
	background-color: #f5f5f5;
	border-bottom: 1px solid #ddd;
	padding: 10px 20px;
  }
  
  .dashboard-header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
  }
  
  .dashboard-logo img {
	max-height: 50px;
  }
  
  .dashboard-welcome {
    /* text-align: center; */
    flex-grow: 1;
    padding-left: 40px;
    font-size: 1.6rem;
    color: #000000;
    font-weight: 600;
}
  
  .dashboard-welcome p {
	margin: 0;
  }
  
  .dashboard-link a {
    background-color: #1A8357;
    color: white;
    padding: 8px 12px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    font-size: 1.6rem;
}
  
  .dashboard-link a:hover {
	background-color: #45a049;
  }
  

  /* Table principale */
  .fuel-order-table {
	width: 100%;
	border-collapse: collapse;
	border-radius: 8px;
	overflow: hidden;
	font-family: "Segoe UI", sans-serif;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  }
  table {
    background-color: #ffffff;
}
table th {
    color: #ffffff;
}
#commandes table th {
    color: #ffffff;
}
.fuel-order-form {
	overflow-x: auto;
	max-width: 100%;
  }
  
  .fuel-order-form table {
	min-width: 900px; /* ou plus si nécessaire pour les colonnes */
	table-layout: fixed;
  }
  
  .fuel-order-form th:nth-child(2),
  .fuel-order-form td:nth-child(2) {
	max-width: 180px;
	width: 180px;
	word-break: break-word;
	white-space: normal;
  }
  
  /* En-têtes */
  .fuel-order-table thead th {
	padding: 12px 10px;
	text-align: center;
	font-weight: 600;
	color: #ffffff;
	background: linear-gradient(135deg, #2c6cd5, #3d84e3);
	border-right: 1px solid #dce1e7;
	font-size: 14px;
  }
  
  .fuel-order-table thead th[colspan="5"] {
	background: linear-gradient(135deg, #d27f2d, #f5a442);
	color: #fff;
  }
  
  .fuel-order-table thead th:last-child {
	background-color: #dd2020;
  }
  
  /* Lignes */
  .fuel-order-table tbody tr:nth-child(even) {
	background-color: #f9fbfc;
  }
  
  .fuel-order-table td {
	padding: 10px;
	border: 1px solid #e4e9f0;
	text-align: center;
	font-size: 14px;
  }
  
  .fuel-order-table td:first-child {
	font-weight: bold;
	background-color: #eef3fa;
  }
  
  /* Adresses */
  .fuel-order-table td strong {
	display: block;
	font-weight: 600;
	color: #333;
	text-align: left;
  }
  
  /* Inputs */
  .fuel-order-table input[type="number"] {
	width: 70px;
	padding: 4px 6px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 13px;
  }
  
  .fuel-order-table input[type="checkbox"] {
	transform: scale(1.2);
  }
  
  /* Bouton */
  .fuel-order-submit {
	margin-top: 20px;
	padding: 12px 24px;
	background: #2c6cd5;
	color: #fff;
	border: none;
	font-weight: 600;
	font-size: 16px;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.3s ease;
  }
  
  .fuel-order-submit:hover {
	background: #1e51ad;
  }
  
tr {
    height: 80px;
    border-bottom: 1px solid #000000;
}
table td,
table th {
  padding: 12px 16px;
}
.home {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #006004; /* Vert agriculture */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
  }

  .landing-box {
    background: #fff;
    color: #333;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 400px;
    width: 90%;
  }

  .landing-box h1 {
    margin-bottom: 30px;
    font-size: 2.6rem;
}

  .landing-box a.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    text-decoration: none;
	font-size:1.8rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }

  .landing-box a.button:hover {
    background-color: #388E3C;
  }



  .dashboard-sidebar {
    width: 250px;
    font-size: 1.8rem;
    background: linear-gradient(to bottom, #019541, #019541);
    color: white;
    padding: 30px 20px;
    display: flex
;
    flex-direction: column;
    justify-content: space-between;
    font-weight: 600;
}


.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
	width:100%;
  }

  .dashboard-sidebar {
    width: 250px;
    background: linear-gradient(to bottom, #2e7d32, #1b5e20);
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .dashboard-sidebar .user-avatar {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
  }

  .dashboard-sidebar .user-name {
    font-size: 1.6REM;
    font-weight: bold;
    margin-bottom: 30px;
    padding: 10px;
    BACKGROUND-COLOR: CHOCOLATE;
    TEXT-TRANSFORM: UPPERCASE;
}

  .dashboard-sidebar nav a {
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    display: block;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
  }

  .dashboard-sidebar nav a:hover {
    background-color: rgba(255,255,255,0.15);
  }

  .dashboard-main {
    flex-grow: 1;
    padding: 40px;
    background-color: #ECEBF3;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.03);
}

  .dashboard-main h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
  }

  .dashboard-main p {
    font-size: 1rem;
    color: #555;
  }


  .dashboard-section {
    padding: 40px;
	font-size: 1.8rem;
    border-radius: 12px;
    max-width: 1390px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
  
.dashboard-section h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #333;
    padding-bottom: 20px;
    border-bottom: 1px solid #000000;
}
  
  .user-info-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	overflow: hidden;
  }
  
  .user-info-table th {
	text-align: left;
	padding: 15px;
	background: #ffffff;
	color: #555;
	width: 40%;
	vertical-align: top;
  }
  
  .user-info-table td {
	padding: 15px;
	color: #333;
  }
  
  .user-info-table tr:not(:last-child) {
	border-bottom: 1px solid #eee;
  }
  
  .dashboard-section .button-group {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
  }
  
  .dashboard-section .button-group a {
	padding: 12px 20px;
	background-color: #2271b1;
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
	border-radius: 6px;
	transition: background-color 0.3s ease;
	display: inline-block;
  }
  
  .dashboard-section .button-group a:hover {
	background-color: #135e96;
  }

  

  .btn-deconnexion {
    background: white;
    color: #c62828;
    font-weight: bold;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .btn-deconnexion:hover {
    background-color: #fbe9e7;
  }
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
