.form-pgcd {
    margin: 32px 0;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fdfcfe;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);

    font-family: 'Segoe UI', sans-serif;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.form-pgcd:hover {
    box-shadow: 0 12px 24px rgba(90, 60, 150, 0.15);
    border-color: #c7c2dc;
}

.form-pgcd-content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.input-form-container{ margin: 8px 0;}

/*CROSS INPUT*/

.input-wrapper {
    position: relative;
    display: inline-block;
}
.input-form {
    max-width: 190px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcd6f3;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(58, 37, 111, 0.08);
    outline: none;
    font-size: 14px;
    color: #3a3a3a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-form::placeholder {
    color: #aaa;
    font-style: italic;
}
.input-form:focus {
    border-color: #5e4ab0;
    box-shadow: 0 0 0 3px rgba(94, 74, 176, 0.2);
}
.clear-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: gray;
    font-size: 16px;
    cursor: pointer;
    display: none;
}
.input-form:not(:placeholder-shown) + .clear-button {
    display: block;
}
.clear-button:hover {
    color: black;
}
.active-factors{display:none}

/*END CROSS INPUT*/

.input-factor-container{
    display: flex;
    flex-direction: column;
}
.input-numbers-container{
    display: flex;
    flex-direction: column;
}
.input-numbers-container > label{
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 4px;
    margin-left: 1.5px;
}
.switch-text-explain{padding: 5px;}
.input-form {
    max-width: 190px;
    padding: 12px;
    border: none;
    border-radius: 4px;
    box-shadow: 2px 2px 7px 0 rgb(0, 0, 0, 0.2);
    outline: none;
    color: dimgray;
}
  
.input-form:invalid {
    animation: justshake 0.3s forwards;
    color: red;
}

@keyframes justshake {
    25% {
        transform: translateX(5px);
    }   
    50% {
        transform: translateX(-5px);
    }   
    75% {
        transform: translateX(5px);
    }   
    100% {
        transform: translateX-(5px);
    }
}

.btn-submit-pgcd {
    appearance: none;
    background-color: transparent;
    border: 0.125em solid #1A1A1A;
    border-radius: 0.9375em;
    box-sizing: border-box;
    color: #3B3B3B;
    cursor: pointer;
    display: inline-block;
    font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
    margin-top: 8px;
    min-height: 3.75em;
    min-width: 0;
    outline: none;
    padding: 1em 5.3em;
    text-align: center;
    text-decoration: none;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    will-change: transform;
}
   
.btn-submit-pgcd:disabled {
    pointer-events: none;
}
   
.btn-submit-pgcd:hover {
    color: #fff;
    background-color: #1A1A1A;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
}
   
.btn-submit-pgcd:active {
    box-shadow: none;
    transform: translateY(0);
}