/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.cmm-mp--form .invalid-feedback {
    width: 100%;
    margin-top: 0;
    font-size: 13px;
    color: rgb(var(--clr--white));
    background-color: rgb(255, 43, 43);
    padding: 5px;
    font-weight: normal;
    display: none;
    text-align: left;
}

.cmm-mp--form {
    background-color: transparent;
    padding: 0;
    position: relative;
}

.cmm-mp--form .cmm-mp-header h2 {
    text-align: center;
}

.cmm-mp--form .cmm-mp-header .header-copy {
    text-align: center;
}

.cmm-mp--form form .row .col {
    margin-bottom: 10px;
}

.cmm-mp--form form .row input,
.cmm-mp--form form .row textarea {
    color: rgb(var(--clr--black));
    /* width: 100%; */
}

.cmm-mp--form form .row .col.submit-wrap {
    /* margin: 15px 0; */
}

.cmm-mp--form .cmm-mp-footer .footer-copy {
    text-align: center;
}

.cmm-mp--form.cmm-mp-form-error .cmm-mp-form-error-wrap p {
    text-align: center;
    margin-bottom: 0;
}

.cmm-mp--form .btn {
    color: #000000;
    /* padding: 15px 0px; */
    width: 100%;
    display: block;
}

.cmm-mp--form .btn:hover,
.cmm-mp--form a:hover {
    text-decoration: none;
}

.cmm-mp--form .secondary-btn {
    color: #ffee00;
    background: #000000;
    border: 2px solid #000000;
}

.cmm-mp--form .secondary-btn:hover {
    color: #000000;
    background: transparent;
    border: 2px solid #000000;
}

.cmm-mp--form .pointer-none {
    pointer-events: none;
}

.cmm-mp-return-message {
    text-align: center;
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.cmm-mp-return-message:empty {
    padding: 0;
    margin: 0;
}

.cmm-mp-return-message.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.cmm-mp-return-message.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.mp-name-wrap,
.mp-email-wrap {
    display: none;
}
.cmm-mp--form a.disabled {
    pointer-events: none; /* Disable clicking */
    opacity: 0.5; /* Dim the appearance */
    color: gray; /* Change color for disabled state */
}

.loading-container {
    position: relative;
}

.loader {
    width: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 13px;
    right: 10px;
    animation:
      l20-1 0.8s infinite linear alternate,
      l20-2 1.6s infinite linear;
  }
  @keyframes l20-1{
     0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
     12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
     25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
     50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
     62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
     75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
     100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
  }
  @keyframes l20-2{ 
    0%    {transform:scaleY(1)  rotate(0deg)}
    49.99%{transform:scaleY(1)  rotate(135deg)}
    50%   {transform:scaleY(-1) rotate(0deg)}
    100%  {transform:scaleY(-1) rotate(-135deg)}
  }
  .letter-loader-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(var(--clr--yellow), .95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    top: 0;
    left: 0;
    z-index: 9;
}

.letter-loader {
    width: 60px;
    aspect-ratio: 1;
    display: flex;
    color: var(--primary--color);
    border: 4px solid;
    box-sizing: border-box;
    border-radius: 50%;
    background: radial-gradient(circle 5px, currentColor 95%, rgba(0, 0, 0, 0)), linear-gradient(currentColor 50%, rgba(0, 0, 0, 0) 0) 50%/4px 60% no-repeat;
    animation: dloader 2s infinite linear;
}

.letter-loader:before {
    content: "";
    flex: 1;
    background:linear-gradient(currentColor 50%, rgba(0, 0, 0, 0) 0) 50%/4px 80% no-repeat;
    animation: inherit;
}

@keyframes dloader {
    100% {transform: rotate(1turn)}
}

.letter-loader-wrapper p {
    color: var(--primary--color);
}

.mp-letter {
    word-break: break-word;
}