﻿@tailwind base;
@tailwind components;
@tailwind utilities;

body {
    background: #F4F5F8;
}

.form-draftContract-container {
    margin-bottom: 100px;
    background: #F4F5F8;
    margin-left: 8%;
    margin-right: 8%;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.title-container {
    margin-left: 8%;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #0F1D3D;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    width: 50vw !important;
    font-weight: 700;
    margin-bottom: 20px;
}

.title-container h1 {
    font-size: 36px;
    color: white;
}

.form-card-container {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    border: solid 1px #D1D6DB;
}

.form-card-container h2 {
    font-size: 26px;
    font-weight: 600;
    color: #0F1D3D;
}

.form-card-contact-container {
    background: #F4F5F8;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.input-container:last-of-type {
    margin-bottom: 2%;
}

.input-container {
    position: relative;
    margin-top: 25px;
}

.input-container label {
    position: absolute;
    top: -10px;
    left: 12px;
    background-color: white;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
}

.input-container input {
    width: 100%;
    padding: 16px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
    color: #161616;
    outline: none;
    transition: border-color 0.2s;
    background: white;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.input-date-container {
    margin-top: 20px;
}

.input-date-container .mud-picker .mud-input-control .mud-input-control-input-container label{
    font-size: 16px; 
    font-weight: 500;
}

.input-container input:focus {
    border-color: #1A428A;
}

.input-container input::placeholder {
    color: #9CA3AF;
}

.submit-btn {
    padding: 8px 20px;
    background-color: #1A428A;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: fit-content;
}

.submit-btn:hover {
    background-color: #153670;
}

.submit-btn:disabled {
    background-color: #6B89B8;
    cursor: not-allowed;
}

.validate-btn {
    padding: 8px 25px;
    background-color: #22bb33;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all ease-in-out .2s;
}

.form-action-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0px 20px;
    border: 1px solid #D1D5DB;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.infos-container {
    margin-bottom: 20px;
    background: #F4F5F8;
    margin-left: 8%;
    margin-right: 8%;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.infos-container h2 {
    font-size: 26px;
    font-weight: 600;
    color: #0F1D3D;
}

.infos-card-container {
    background: #E5E5E5;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    border: solid 1px #D1D6DB;
}

.infos-card-container span {
    font-weight: 700;
}
    @media (max-width: 1024px) {
        .form-draftContract-container {
            margin-left: 0px;
            margin-right: 0px;
        }

        .title-container {
            margin-left: 0px;
            width: 100% !important;
        }

            .title-container h1 {
                font-size: 28px;
            }

        .form-card-container h2, .form-card-container h2 {
            font-size: 22px;
        }

        .form-card-contact-container {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
    }

    @media screen and (min-width: 1280px) {
    }