/* SunTixx Standalone Payment Form - Modern Professional Style */

#suntixx-standalone-form {
    max-width: 500px;
    margin: 30px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#suntixx-standalone-form label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    color: #333333;
}

#suntixx-standalone-form input[type="text"],
#suntixx-standalone-form input[type="email"],
#suntixx-standalone-form input[type="password"],
#suntixx-standalone-form input[type="number"] {
    width: 100%;
    padding: 10px 42px 10px 12px;
    margin-bottom: 20px;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fdfdfd;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#suntixx-standalone-form input[type="text"]:focus,
#suntixx-standalone-form input[type="email"]:focus,
#suntixx-standalone-form input[type="password"]:focus,
#suntixx-standalone-form input[type="number"]:focus {
    border-color: #00AEEF;
    box-shadow: 0 0 0 2px rgba(0,174,239,0.2);
    outline: none;
}

#suntixx-standalone-form input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* SunTixx Standalone Payment Form - Updated Lock Animation and Centering */

.suntixx-input-wrapper {
    position: relative;
}

.suntixx-lock-icon {
    position: absolute;
    right: 14px;
    top: 33%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: suntixxLockPulse 1.2s infinite ease-in-out;
}

.suntixx-lock-icon svg {
    width: 16px;
    height: 16px;
    fill: #8a8a8a;
}

/* Lock Pulse Animation */
@keyframes suntixxLockPulse {
    0% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.1); }
    100% { transform: translateY(-50%) scale(1); }
}

#suntixx-submit-btn {
    width: 100%;
    background-color: #00AEEF;
    font-size: 18px;
    font-weight: 600;
    padding: 14px;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#suntixx-submit-btn:hover {
    background-color: #008dc3;
}

.suntixx-loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #00AEEF;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: suntixxSpin 0.8s linear infinite;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes suntixxSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#suntixx-payment-result {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    #suntixx-standalone-form {
        margin: 15px;
        padding: 15px;
    }

    #suntixx-standalone-form input[type="text"],
    #suntixx-standalone-form input[type="email"],
    #suntixx-standalone-form input[type="password"],
    #suntixx-standalone-form input[type="number"] {
        font-size: 15px;
    }

    #suntixx-submit-btn {
        font-size: 16px;
    }
}

#suntixx-standalone-form select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 20px;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fdfdfd;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: center;
    background-size: 16px 16px;
}

#suntixx-standalone-form select:focus {
    border-color: #00AEEF;
    box-shadow: 0 0 0 2px rgba(0,174,239,0.2);
    outline: none;
}

.suntixx-error {
    border: 2px solid #e53935 !important;
    background-color: #ffeaea !important;
    transition: border-color 0.3s, background-color 0.3s;
}
