
@font-face {
	font-family: Aptos;
	src: url('/fonts/Aptos/Aptos.ttf');
	font-weight: normal;
 }
@font-face {
	font-family: Aptos_Black;
	src: url('/fonts/Aptos/Aptos-Black.ttf');
	font-weight: normal;
 }
@font-face {
	font-family: Aptos_Bold;
	src: url('/fonts/Aptos/Aptos-Bold.ttf');
	font-weight: normal;
 }
@font-face {
	font-family: Aptos_ExtraBold;
	src: url('/fonts/Aptos/Aptos-ExtraBold.ttf');
	font-weight: normal;
 }
@font-face {
	font-family: Aptos_Light;
	src: url('/fonts/Aptos/Aptos-Light.ttf');
	font-weight: normal;
 }
@font-face {
	font-family: Aptos_SemiBold;
	src: url('/fonts/Aptos/Aptos-SemiBold.ttf');
	font-weight: normal;
 }
@font-face {
	font-family: Aptos_Serif;
	src: url('/fonts/Aptos/Aptos-Serif.ttf');
	font-weight: normal;
 }


@font-face {
	font-family: seven_segment;
	src: url('/fonts/seven_segment/7Segment.ttf');
	font-weight: normal;
 }
@font-face {	
	font-family: Lato_Regular;
	src: url('/fonts/lato/Lato-Regular.ttf');
	font-weight: normal;
}
@font-face {	
	font-family: Lato_Black;
	src: url('/fonts/lato/Lato-Black.ttf');
	font-weight: normal;
}
@font-face {	
	font-family: Lato_BlackItalic;
	src: url('/fonts/lato/Lato-BlackItalic.ttf');
	font-weight: normal;
}
@font-face {	
	font-family: Lato_Bold;
	src: url('/fonts/lato/Lato-Bold.ttf');
	font-weight: normal;
}
@font-face {	
	font-family: Lato_BoldItalic;
	src: url('/fonts/lato/Lato-BoldItalic.ttf');
	font-weight: normal;
}
@font-face {	
	font-family: Lato_Italic;
	src: url('/fonts/lato/Lato-Italic.ttf');
	font-weight: normal;
}


/* ===================================
   STYLE GLOBAL - PLATEFORME COMMANDE
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Lato_BlackItalic, Arial, sans-serif;
    min-height: 100vh;
    /*display: flex;*/
    flex-direction: column;
    align-items: center;
    padding: 0px;
}

iframe#master_iframe {
    border: none;
    width: 100%;
		min-height: 800px;
}

/* ===================================
   HEADER LOGIN- LOGOS ET TAGLINE
   =================================== */

.header_login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 700px;
    margin-bottom: 60px;
}

.logo-secu_login {
    display: flex;
    align-items: center;
}

.logo-secu-img_login {
    height: 80px;
    width: auto;
}

.tagline-img_login {
    height: 60px;
    width: auto;
}

.arriere_plan_login {
    position: absolute;
    height: 50%;
    background-color: #dcdada;
    width: 100%;
    z-index: -1;
    top: 0;
}



/* ===================================
   HEADER - LOGOS ET TAGLINE
   =================================== */

.header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 25px;
    padding: 15px 0px 15px 70px;
    background-color: #dcdada;
    flex-direction: row;
    flex-wrap: nowrap;
}

.logo-secu {
    display: flex;
    align-items: center;
}

.logo-secu-img {
    height: 65px;
    width: auto;
}

.tagline-img {
    height: 55px;
    width: auto;
}
.tagline {
    margin-left: 3%;
    padding-top: 1%;
}

.\33 click {
    width: 25%;
    left: 3%;
    position: fixed;
    float: left;
    top: 1%;
}

img.\33 click-img {
    width: 360px;
    height: auto;
}

.menu {
    position: relative;
    float: right;
    margin: -58px 2%;
}

.titre_ligne1{
		color: #292671;
    font-size: 50px;
    font-family: Lato_BlackItalic;
}
.titre_ligne2{
		color: #292671;
    font-size: 33px;
    font-family: Lato_BlackItalic;
		margin-top: -15px;
}
.titre {
    position: absolute;
    left: 3.5%;
}

/* ===================================
   FORMULAIRES
   =================================== */

.login-container {
    width: 100%;
    max-width: 700px;
    position: relative;
    float: left;
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-row label {
    font-weight: bold;
    font-style: italic;
    color: #0066a1;
    font-size: 30px;
    width: 250px;
    text-align: right;
    padding-right: 20px;
}

.form-row input,
.form-row select,
.form-row textarea {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #0066a1;
    border-radius: 18px;
    font-size: 16px;
    background-color: white;
		font-family: Lato_Bold;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #004d7a;
}

.form-row textarea {
    resize: vertical;
    min-height: 100px;
    border-radius: 15px;
}

/* ===================================
   BOUTONS
   =================================== */

.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 13%;
    gap: 20px;
}

.btn-login,
.btn-primary,
.btn-secondary {
		padding: 5px 60px;
    color: white;
    border: none;
    border-radius: 16px;
		font-family: lato_Blackitalic;
    font-size: 30px;
    font-weight: bold;
    font-style: italic;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-login,
.btn-primary {
    background-color: #0066a1;
}

.btn-login:hover,
.btn-primary:hover {
    background-color: #004d7a;
    transform: translateY(-2px);
		font-family: lato_Blackitalic;
    font-size: 30px;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

/* ===================================
   MESSAGES (ERREUR / SUCCÈS)
   =================================== */

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    border-radius: 8px;
    border-left: 4px solid #c62828;
    text-align: center;
}

.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    border-radius: 8px;
    border-left: 4px solid #2e7d32;
    text-align: center;
}

.info-message {
    background: #e3f2fd;
    color: #1565c0;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    border-radius: 8px;
    border-left: 4px solid #1565c0;
    text-align: center;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    margin-top: 80px;
    text-align: center;
}

.logo-ucanss-img {
    height: 60px;
    width: auto;
}

.footer-text {
    color: #2d8b4e;
    font-size: 14px;
    margin-top: 10px;
}

/* ===================================
   TABLEAUX
   =================================== */

.table-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background-color: #0066a1;
    color: white;
}

table th,
table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table tbody tr:hover {
    background-color: #f5f5f5;
}

table th {
    font-weight: bold;
}

/* ===================================
   CARTES / CARDS
   =================================== */

.card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: #0066a1;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.card-content {
    color: #333;
    line-height: 1.6;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
    }

    .form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .form-row label {
        text-align: left;
        width: 100%;
        padding-right: 0;
        margin-bottom: 10px;
        font-size: 20px;
    }

    .btn-login,
    .btn-primary,
    .btn-secondary {
        font-size: 24px;
        padding: 12px 40px;
    }

    .btn-container {
        flex-direction: column;
        gap: 15px;
    }

    .table-container {
        overflow-x: auto;
    }
}

/* ===================================
   HEADER - LOGOS ET TAGLINE
   =================================== */

.header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 25px;
    padding: 15px 0px 15px 70px;
    background-color: #dcdada;
    flex-direction: row;
    flex-wrap: nowrap;
}

.logo-secu {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Empêche le logo de rétrécir */
}

.logo-secu-img {
    height: 65px;
    width: auto;
    max-width: 100%; /* S'adapte si l'écran est trop petit */
}

.tagline {
    margin-left: 3%;
    padding-top: 1%;
    flex-shrink: 0; /* Empêche le tagline de rétrécir */
}

.tagline-img {
    height: 55px;
    width: auto;
    max-width: 100%;
}

.menu {
    position: relative;
    float: right;
    margin: -58px 2%;
}

/* ===================================
   RESPONSIVE - HEADER
   =================================== */

/* Écrans moyens (tablettes) */
@media (max-width: 1200px) {
    .header {
        padding: 15px 0px 15px 50px;
    }
    
    .logo-secu-img {
        height: 60px;
    }
    
    .tagline-img {
        height: 50px;
    }
    
    .tagline {
        margin-left: 2%;
    }
}

/* Petits écrans (tablettes portrait) */
@media (max-width: 992px) {
    .header {
        padding: 12px 0px 12px 30px;
    }
    
    .logo-secu-img {
        height: 55px;
    }
    
    .tagline-img {
        height: 45px;
    }
    
    .\33 click {
        width: 30%;
        padding-left: 3%;
    }
    
    .menu {
        margin: -50px 2%;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .header {
        padding: 10px 0px 10px 20px;
        flex-wrap: wrap; /* Permet de passer à la ligne si besoin */
    }
    
    .logo-secu-img {
        height: 50px;
    }
    
    .tagline-img {
        height: 40px;
    }
    
    .tagline {
        margin-left: 2%;
        padding-top: 0;
    }
    
    .\33 click {
        width: 100%; /* Prend toute la largeur */
        padding-left: 0;
        float: none;
        text-align: center;
        margin-bottom: 20px;
    }
    
    img.\33 click-img {
        max-width: 280px;
    }
    
    .menu {
        float: none;
        margin: 0;
        width: 100%;
        padding: 0 20px;
    }
}

/* Petits mobiles */
@media (max-width: 480px) {
    .header {
        padding: 8px 0px 8px 15px;
        justify-content: center; /* Centre les éléments */
    }
    
    .logo-secu-img {
        height: 40px;
    }
    
    .tagline-img {
        height: 35px;
    }
    
    .tagline {
        margin-left: 10px;
    }
    
    .\33 click {
        padding: 0 15px;
    }
    
    img.\33 click-img {
        max-width: 240px;
    }
    
    .menu {
        padding: 0 15px;
    }
}

/* Très petits écrans */
@media (max-width: 360px) {
    .logo-secu-img {
        height: 35px;
    }
    
    .tagline-img {
        height: 30px;
    }
    
    img.\33 click-img {
        max-width: 200px;
    }
}

/*-----------------------------------------------------------------------------------------------------*/
/*-----------------------------                 IFRAME PDF                  ---------------------------*/
/*-----------------------------------------------------------------------------------------------------*/
iframe#pdf_iframe {
		
    width: 1198px;
    min-height: 706px;
    background-color: #28292a;
    position: absolute;
    z-index: 2;
    left: 53.8%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    display: none;
    top: 187px;
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    font-family: 'Lato_Bold';
}