.cuf-form {
    display: flex;
    flex-direction: column;
    margin: 10px auto 40px;
    font-family: "Roboto", Sans-serif;
    padding: 0 15px;
}

.cuf-form input::placeholder {
    color: #6C8695;
}

.cuf-success {
    color: #2ecc71;
    font-weight: bold;
}

.cuf-form input,
.cuf-form textarea {
    margin: 15px 0px 0px;
    background: #0F0F19 !important;
    border: 1px solid #0F0F19 !important;;
    padding: 25px;
    border-radius: 15px;
    color: #fff !important; 
    width: 100%;
}

.cuf-form label {
    color: #fff;
    font-size: 16px;
    margin-bottom: 0.25rem;
    display: block;
}

.cuf-form button {
    padding: 16px 20px;
    background: #1661D0;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    width: 150px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cuf-form button:hover {
    background: #0574b7;
    transform: translateY(-2px);
}

.cuf-form .cuf-invalid {
    border: 1px solid #e74c3c !important;
}

.cuf-form label.cuf-label-invalid {
    color: #e74c3c;
}

.cuf-form input,
.cuf-form textarea,
.cuf-form label {
    transition: all 0.3s ease;
}

.cuf-form .cuf-control {
    margin-bottom: 20px;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}

.cuf-shake {
    animation: shake 0.3s ease;
}

@media (max-width: 768px) {
    .cuf-form button {
        padding: 14px 15px;
        font-size: 13px;
    }
}

.cuf-footer {
    display: flex;
    align-items: center;
}

.cuf-success {
    color: #2ecc71;
    margin-left: 9rem;
    font-weight: 500;
    display: inline-block;
    animation: fadeOut 0.5s ease 10s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.cuf-error {
    color: #e74c3c;
    margin-left: 20px;
    font-weight: 500;
    display: inline-block;
    animation: fadeOut 0.5s ease 5s forwards;
}