
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: radial-gradient(circle at 0% 0%, #155562 0%, #03141a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
    padding: 20px;
}

.header {
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header__title {
    color: #b3b3c0;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 300;
    line-height: 1.4;
    max-width: 70%;
    
}

.header__img img {
    height: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main {
    width: 100%;
    display: flex;
    justify-content: center;
}

.main__hero {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1100px;
    background: #1b1414;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    min-height: 700px;
}

.main__hero-title {
    flex: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("data/image/background.jpg");
    background-size: cover;
    background-position: center;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    position: relative;
    max-width: 400px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.main__hero-title h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.main__hero-title::after {
    content: "Rejoignez notre plateforme et commencez votre aventure avec nous!";
    display: block;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.5;
    opacity: 0.85;
}

.main__hero-content {
    flex: 2;
    padding: 60px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form > * {
    grid-column: 1 / -1;
}

.form .form__group:nth-child(1),
.form .form__group:nth-child(2) {
    grid-column: auto;
}

.form__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 6px;
}

.form__input,
.form__textarea,
.form__file {
    width: 100%;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: #1f2937;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.form__input:focus,
.form__textarea:focus {
    border-color: #0369a1;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: #9ca3af;
}

.form__fieldset {
    border: none;
    margin-top: 10px;
}

.form__legend {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 10px;
}

.form__radio-group,
.form__checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form__radio-label,
.form__checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    color: #374151;
}

input[type="radio"], input[type="checkbox"] {
    accent-color: #0369a1;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form__file {
    padding: 10px;
    background: #ffffff;
    border: 1px dashed #d1d5db;
    cursor: pointer;
}

.form__btn {
    width: 100%;
    padding: 15px;
    background-color: #111827;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.form__btn:hover {
    background-color: #1f2937;
}

.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    margin-top: auto;
}

.footer_copy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .main__hero {
        flex-direction: column;
    }
    .main__hero-title {
        max-width: 100%;
        padding: 50px 30px;
        min-height: 250px;
    }
    .form {
        grid-template-columns: 1fr;
    }
    .form__group {
        grid-column: 1 / -1;
    }
    .main__hero-content {
        padding: 40px 30px;
    }
}
