@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

.wp-registration-form-container {
    background-color: #1a1a1a;
    color: #ffffff;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 650px;
    margin: 40px auto;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.wp-reg-form-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
}

.wp-reg-form-field {
    margin-bottom: 15px;
    width: 100%;
}

.wp-reg-form-field input[type="text"],
.wp-reg-form-field input[type="email"],
.wp-reg-form-field input[type="tel"],
.wp-reg-form-field select {
    width: 100%;
    padding: 14px 16px;
    background-color: #ffffff;
    color: #000000;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.wp-reg-form-field input::placeholder {
    color: #888888;
    opacity: 1;
}

.wp-reg-form-field input:focus,
.wp-reg-form-field select:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    background-color: #fcfcfc;
}

/* Custom styling for Select element arrow */
.wp-reg-form-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 45px;
    cursor: pointer;
}

.wp-reg-form-consents {
    margin-top: 30px;
    margin-bottom: 25px;
}

.wp-reg-consent-label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.6;
    color: #b3b3b3;
    transition: color 0.2s ease;
}

.wp-reg-consent-label:hover {
    color: #ffffff;
}

.wp-reg-consent-label input[type="checkbox"] {
    margin-top: 3px;
    margin-right: 12px;
    min-width: 16px;
    min-height: 16px;
    accent-color: #ffffff;
    cursor: pointer;
}

.wp-reg-consent-text {
    flex: 1;
}

/* Payment Info Box */
.wp-reg-form-payment-info {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
    color: #d1d1d1;
}

.wp-reg-form-payment-info p {
    margin: 0 0 10px 0;
}

.wp-reg-form-payment-info p:last-child {
    margin-bottom: 0;
}

.wp-reg-bank-details {
    font-size: 15px;
    color: #ffffff;
}

.wp-reg-bank-number {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    letter-spacing: 1px;
    color: #f0ad4e; /* Złoty akcent */
    display: inline-block;
    margin-left: 5px;
}

.wp-reg-payment-title {
    font-size: 13px;
    color: #a0a0a0;
    font-style: italic;
}

/* Submit Button styling */
.wp-reg-form-submit-container {
    text-align: center;
}

#wp-reg-form-submit-btn {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#wp-reg-form-submit-btn:hover {
    background-color: transparent;
    color: #ffffff;
}

#wp-reg-form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loader Animation inside Button */
.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #000000;
    animation: wpRegSpin 0.8s linear infinite;
    margin-left: 10px;
}

#wp-reg-form-submit-btn:hover .btn-loader {
    border-top-color: #ffffff;
}

#wp-reg-form-submit-btn.loading .btn-loader {
    display: inline-block;
}

@keyframes wpRegSpin {
    to { transform: rotate(360deg); }
}

/* Success / Error Messages */
.wp-reg-form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    display: none;
    text-align: center;
    animation: wpRegFadeIn 0.3s ease;
}

.wp-reg-form-status.success {
    background-color: rgba(46, 204, 113, 0.15);
    border: 1px solid #2ecc71;
    color: #2ecc71;
    display: block;
}

.wp-reg-form-status.error {
    background-color: rgba(231, 76, 60, 0.15);
    border: 1px solid #e74c3c;
    color: #e74c3c;
    display: block;
}

@keyframes wpRegFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive queries */
@media (max-width: 600px) {
    .wp-registration-form-container {
        margin: 20px 10px;
        padding: 25px 20px;
    }
    
    .wp-reg-form-title {
        font-size: 20px;
    }
    
    #wp-reg-form-submit-btn {
        padding: 14px 20px;
    }
}
