.ps-form {
    max-width: 500px;
    margin: auto;
    padding: 25px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-family: "Sofia Sans";
}

.ps-form input[type="text"], .ps-form input[type="email"], .ps-form select {
    width: 100% !important;
    padding: 12px !important;
    margin-bottom: 12px;
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    color: #0000008f;
}
.ps-form input::placeholder{
    color: #0000008f;
}

.ps-form button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #00a63e;
    color: white;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

.ps-form button:hover{
    background: #fff;
    border: 2px solid #00a63dc0;
    color: #00a63dc0; 
}

.ps-form button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.ps-form button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.ps-form button.loading span {
    opacity: 0;
}

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

.ps-msg {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.ps-msg.success {
    background: #d4edda;
    color: #155724;
}

.ps-msg.error {
    background: #f8d7da;
    color: #721c24;
}
