
@font-face {
    font-family: 'GtSuper-Super-Bold';
    src: url('./police/GT-Super-Display-Super-Trial.otf') format('opentype')
}

@font-face {
    font-family: 'GtSuper-Bold-important';
    src: url('./police/GT-Super-Display-Bold-Trial.otf') format('opentype')
}

@font-face {
    font-family: 'GtSuper-medium';
    src: url('./police/GT-Super-Display-Medium.woff2') format('woff2')
}

@font-face {
    font-family: 'GtSuper-bold';
    src: url('./police/GT-Super-Display-Bold.woff2') format('woff2')
}

@font-face {
    font-family: 'GtSuper';
    src: url('./police/GT-Super-Display-Regular-Trial.otf') format('opentype')
}

@font-face {
    font-family: 'GtSuper-Light';
    src: url('./police/GT-Super-Display-Light-Trial.otf') format('opentype')
}

@font-face {
    font-family: 'myriad-regular';
    src: url('./police/MYRIADPRO-REGULAR.woff') format('woff')
}

@font-face {
    font-family: 'myriad-semibold';
    src: url('./police/MYRIADPRO-SEMIBOLD.woff') format('woff')
}

@font-face {
    font-family: 'myriad-bold';
    src: url('./police/MYRIADPRO-BOLD.woff') format('woff')
}

@font-face {
    font-family: 'Akzid-Reg';
    src: url('./police/AkzidGroBQReg.otf') format('opentype')
}

@font-face {
    font-family: 'Akzid-Bold';
    src: url('./police/AkzidGroBQBol.otf') format('opentype')
}

@font-face {
    font-family: 'Akzid-Medium';
    src: url('./police/AkzidGroBQMd.otf') format('opentype')
}

@font-face {
    font-family: 'Akzid-Light';
    src: url('./police/AkzidGroBQLig.otf') format('opentype')
}

:root {
    --deep-pink: #ff0063;
    --gold: #ffe000;
    --gold-transparent: #ffe10030;
    --gold-use: #e0c600;
    --gold-pre-use: #edd100;
    --white: white;
    --black: black;
    --valid-green: rgba(0, 180, 0, 0.259);
    --waiting-yellow: rgba(162, 180, 0, 0.259);
    --police-titre: 'GtSuper-bold';
    --police-h1: 'Akzid-Reg';
    --police-texte: 'Akzid-Reg', Arial, sans-serif;
}

body {
    padding: 0;
    margin: 0;
    font-family: var(--police-texte);
    font-size: 12pt;
}

h1, h2, h3 {
    font-family: var(--police-titre);
}

.main-h1 {
    font-family: var(--police-h1);
    letter-spacing: 3px;
    font-size: 27pt;
    margin-bottom: 5px;
}

h1 {
    font-size: 36pt;
    text-transform: uppercase;
    margin-top: 40px;
}

h2 {
    font-size: 17pt;
}

h3 {
    font-size: 15pt;
}

p {
    padding: 0;
    margin: 0;
}

.major {
    max-width: 100vw;
    display: flex;
    justify-content: space-around;
}

.main {
    width: 880px;
    max-width: 880px;
    background-color: var(--deep-pink);
    color: white;
}

.main.error {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 50px 100px;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.main-1, .main-2, .main-3, .main-4 {
    background-color: var(--deep-pink);
}

.part-1, .part-2, .part-3, .part-4, .part-5, .part-6, .part-7 {
    width: calc(100% - 240px);
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.part-1 {
    padding: 120px 120px 120px 120px;
}
.part-2, .part-3, .part-4, .part-5, .part-6, .part-7 {
    padding: 75px 120px 0 120px;
}

.part-4 {
    padding: 0px 120px 0 120px;
}

.submain {
    width: 100%;
    max-width: 680px;
}

.spliter {
    width: 100%;
    background-color: white;
    height: 1px;
    margin: 30px 0;
}

.main-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 70%;
    margin: 0 0 120px 0;
}

.summary .icon {
    width: 30px;
}

.sub-title {
    text-transform: uppercase;
    font-size: 13pt;
    text-align: center;
}

.presentation {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.manifest {
    text-align: center;
}

.manifest h1 {
    margin-top: 100px;
}

.address, .contact {
    display: flex;
    flex-direction: column;
}

.address {
    text-align: center;
}

.contact {
    text-align: right;
}

.deal_name {
    margin-bottom: 60px;
}

.deal_name.pour {
    margin-bottom: 40px;
}

.manifest .contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.part-2:not(.summary), .part-4:not(.summary), .part-6:not(.summary) {
    background-color: #F5F5F5;
    color: #121519;
}

.part-3, .part-5 {
    background-color: #121519;
    color: #FFFFFF;
}

.cta {
    z-index: 1001;
    position: fixed;
    bottom: 100px;
    left: 0px;
    padding: 12px 24px;
    font-size: 18pt;
    border-radius: 0 14px 14px 0;
    background-color: var(--gold);
    color: black;
    cursor: pointer;
    -webkit-border-radius: 0 14px 14px 0;
    -moz-border-radius: 0 14px 14px 0;
    -ms-border-radius: 0 14px 14px 0;
    -o-border-radius: 0 14px 14px 0;
}

.cta#auto_generate {
    bottom: 20px;
}

.loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.spinner {
	width: 50px;
	height: 50px;
	border: 5px solid #f3f3f3;
	border-top: 5px solid #3498db;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

.loader .message {
	color: white;
	margin-top: 20px;
	font-size: 18px;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.success-message, .error-message {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 20px;
	border-radius: 8px;
	transition: opacity 0.5s;
	z-index: 9999;
}

.success-message {
	background: #4CAF50;
	color: white;
}

.error-message {
	background: #f44336;
	color: white;
}

.success-content, .error-content {
	display: flex;
	align-items: flex-start;
	gap: 10px;
    flex-direction: column;
}

.success-icon, .error-icon {
	font-size: 24px;
}

.success-text, .error-text {
	font-size: 16px;
}

.success-link {
	color: white;
	text-decoration: underline;
	margin-left: 10px;
}

.success-link:hover {
	color: #e0e0e0;
}