@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

html,
body {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

* {
    font-family: "DM Sans", sans-serif;
}

.form-control {
    position: relative;
}

.form-control {
    font-size: 14px;
    position: relative;
    /* top: 2.5px; */
}

.form-control .remove-field {
    position: absolute;
    top: 18px;
    right: 20px;
    border: none;
    background: none;
    color: #adadad;
}

.list-grp-input .form-control label {
    font-size: 15px;
    color: #056141;
    background-color: transparent !important;
}

.list-grp-input .form-control:first-child label:after {
    background-color: #acfbe0 !important;
}

.list-grp-input .form-control:nth-child(even) label:after {
    background-color: #f2eafe !important;
}

.list-grp-input .form-control:nth-child(odd) label:after {
    background-color: #e7480914 !important;
}



.list-grp-input .form-floating:nth-child(even)>.form-control:focus~label {
    color: #854687 !important;
}

.list-grp-input .form-floating:last-child>.form-control:focus~label {
    color: #0962e7 !important;
}

.list-grp-input .form-floating:nth-child(odd)>.form-control:focus~label {
    color: #e74809 !important;
}

.list-grp-input .form-floating:first-child>.form-control:focus~label {
    color: #5b8746 !important;
}

.list-grp-input .form-floating>.form-control:focus~.delete {
    color: #056141;
}

.background-color-gradient {
    background: linear-gradient(180deg,
            rgba(1, 102, 41, 0.27) 0%,
            rgba(19, 20, 31, 0) 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.form-floating label:after {
    background-color: transparent !important;
}

.form-floating .form-control {
    transition: all 0.5s ease-in-out;
}

.form-floating .form-control:focus {
    box-shadow: none;
    border: 1px solid #056141;
    background: linear-gradient(90deg, #d4f5e9, #e9f9f1);
}

.logo-div {
    width: 50%;
    padding: 30px 0 12px;
}

#attachmentList {
    list-style: none;
    padding-left: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

#attachmentList li {
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    width: fit-content;
    transition: all 0.5s ease-in-out;
}

#attachmentList li.active {
    border: 1px solid #056141;
    background-color: #1cf8ab2d;
}

#attachmentList li a {
    text-decoration: none;
    color: #056141;
}

input[type="checkbox"]:checked {
    accent-color: #056141;
}

.save-btn {
    border-radius: 50px;
    border: 1px solid #056141;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    background: #1cf8ab2d;
}

.save-btn:hover {
    border: 1px solid #056141;
}

.header-backgorund {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.cross-gola {
    background: #1ab580;
    padding: 7px 10px;
    border-radius: 50px;
    color: #fff;
}

span.color-primary {
    color: #1ab580;
}


.remove-field {
    background: transparent;
    border: none;
    color: #9b9b9b;
}

.input-group {
    border: 1px solid #cdcdcd;
    margin-top: 8px;
    border-radius: 7px;
}


.remove-field:active,
.remove-field:hover {
    background: transparent;
    color: #056141;
}

.input-group .form-control {
    border: none;
}

.email-section .form-group label {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #056141;
    width: fit-content;
    padding: 5px 10px;
    background: #d5ebe3;
    border-radius: 5px;
}

.email-section .form-group {
    border: 1px solid #c9c9c9;
    margin-bottom: 25px;
    padding: 10px;
    border-radius: 7px;
}

.email-section .form-group .form-control:focus {
    box-shadow: none;
    border: none;
}

.email-section .form-group label:before {
    content: "";
    width: 10px;
    height: 10px;
    display: block;
    background: #056141;
    border-radius: 50%;
}

.email-section .form-group.attachment {
    border: none;
    padding: 0px;
}

#attachmentList label:before {
    display: none;
}

#attachmentList label {
    padding: 0px;
    background: transparent;
}

#sending-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 3rem;
    height: 3rem;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

* {
    font-family: "DM Sans", sans-serif;
}

.form-floating {
    position: relative;
}

.form-floating .form-control {
    font-size: 14px;
    position: relative;
    top: 2.5px;
}

.form-floating .delete {
    position: absolute;
    top: 18px;
    right: 20px;
    border: none;
    background: none;
    color: #adadad;
}

.list-grp-input .form-floating label {
    font-size: 15px;
    color: #056141;
    background-color: transparent !important;
}

.list-grp-input .form-floating:first-child label:after {
    background-color: #acfbe0 !important;
}

.list-grp-input .form-floating:nth-child(even) label:after {
    background-color: #f2eafe !important;
}

.list-grp-input .form-floating:nth-child(odd) label:after {
    background-color: #e7480914 !important;
}


.list-grp-input .form-floating:nth-child(even)>.form-control:focus~label {
    color: #854687 !important;
}

.list-grp-input .form-floating:last-child>.form-control:focus~label {
    color: #0962e7 !important;
}

.list-grp-input .form-floating:nth-child(odd)>.form-control:focus~label {
    color: #e74809 !important;
}

.list-grp-input .form-floating:first-child>.form-control:focus~label {
    color: #5b8746 !important;
}

.list-grp-input .form-floating>.form-control:focus~.delete {
    color: #056141;
}

.background-color-gradient {
    background: linear-gradient(180deg,
            rgba(1, 102, 41, 0.27) 0%,
            rgba(19, 20, 31, 0) 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.form-floating label:after {
    background-color: transparent !important;
}

.form-floating .form-control {
    transition: all 0.5s ease-in-out;
}

.form-floating .form-control:focus {
    box-shadow: none;
    border: 1px solid #056141;
    background: linear-gradient(90deg, #d4f5e9, #e9f9f1);
}

.logo-div {
    width: 50%;
    padding: 11px 0 12px;
}

#attachmentList {
    list-style: none;
    padding-left: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

#attachmentList li {
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    width: fit-content;
    transition: all 0.5s ease-in-out;
}

#attachmentList li.active {
    border: 1px solid #056141;
    background-color: #1cf8ab2d;
}

#attachmentList li a {
    text-decoration: none;
    color: #056141;
}

input[type="checkbox"]:checked {
    accent-color: #056141;
}

.save-btn {
    border-radius: 50px;
    border: 1px solid #056141;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    background: #1cf8ab2d;
}

.save-btn:hover {
    border: 1px solid #056141;
}

.header-backgorund {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.cross-gola {
    background: #1ab580;
    padding: 7px 10px;
    border-radius: 50px;
    color: #fff;
}

span.color-primary {
    color: #1ab580;
}

.model-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 2px 8px 18.3px -1px #00000017;
    border: 1px solid #ddd;
    padding: 10px !important;
}

.model-button:hover {
    background: #0c6ffc;
    color: #fff;
}

.model-button.yellow {
    background: #FEF8E5;
}

.model-button.green {
    background: #3EF14D2B;
}

.model-button.blue {
    background: #DDEDF6;
}

.model-button.orange {
    background: #F9ECE7;
}


/* Make the main container and scroll wrapper responsive */
.container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.model-scroll-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.model-button {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    text-align: left;
    transition: border 0.2s, background 0.2s;
    /* Remove fixed padding if you want more flexibility */
}

@media (max-width: 600px) {
    .container {
        max-width: 100%;
        padding: 0 8px;
    }

    .model-button {
        font-size: 15px;
        padding: 0.75rem 0.5rem;
    }
}