﻿.form-container {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin: auto;
}

.form-header {
    text-align: center;
    position: relative;
}

.resgiter-title {
    font-family: var(--font-title);
    color: var(--text-title-color);
    font-size: 70px
}

.form-title {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 20px;
    line-height: 1.1;
    margin: auto;
    width: fit-content;
    text-align: end;
}

.form-subtitle {
    font-size: 0.875rem;
    color: #666;
    font-weight: 400;
}

.form-body {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.875rem;
        color: #555;
        font-weight: 500;
    }

.input-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #333;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

    .form-control:focus {
        outline: none;
        border-color: #d1c7b7;
        box-shadow: 0 0 0 3px rgba(244, 241, 236, 0.5);
    }

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1rem;
}

.submit-btn {
    background-color: #C89369;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

    .submit-btn:hover {
/*        background-color: #e8e5df;*/
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .submit-btn i {
        margin-right: 0.5rem;
        font-size: 0.9rem;
    }

.form-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(244, 241, 236, 0.5);
    z-index: 1;
    filter: blur(30px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    animation: fadeIn 0.4s ease forwards;
}

    .form-group:nth-child(1) {
        animation-delay: 0.1s;
    }

    .form-group:nth-child(2) {
        animation-delay: 0.2s;
    }

    .form-group:nth-child(3) {
        animation-delay: 0.3s;
    }

    .form-group:nth-child(4) {
        animation-delay: 0.4s;
    }

.submit-btn-wrapper {
    animation: fadeIn 0.4s ease 0.4s forwards;
    opacity: 0;
}

@media (max-width: 992px) {
    .form-container{
        transform: scale(0.8)
    }
}

@media (max-width: 768px) {
    .form-container {
        transform: scale(0.65)
    }
}
