/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

form#bigo-form{
    padding: 100px 0;
}
form#bigo-form .container {
    max-width: 480px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}
form#bigo-form p{
    margin-bottom: 0 !important;
}
form#bigo-form .step-content > .form-row{
    margin-bottom: 15px;
}
form#bigo-form .header {
    background: linear-gradient(135deg, #ec407a, #ad1457);
    color: white;
    padding: 24px;
    text-align: center;
}
form#bigo-form .wpcf7-response-output{
    display: none;
}
form#bigo-form .header h1 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #FFF;
}
form#bigo-form .wpcf7-spinner{
    display: none;
}
form#bigo-form .step-indicator {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

form#bigo-form .step {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

form#bigo-form .step.active {
    background: white;
    transform: scale(1.2);
}

form#bigo-form .form-content {
    padding: 32px 24px;
}

form#bigo-form .step-content {
    display: none;
}

form#bigo-form .step-content.active {
    display: block;
}

/* Step 1 Styles */
.form-row {form#bigo-form 
    margin-bottom: 24px;
}

form#bigo-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

form#bigo-form .input-group {
    display: flex;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

form#bigo-form .input-wrap {
    flex: 1;
}

form#bigo-form .input {
    width: 100%;
    border-radius: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    padding: 12px 16px;
    border: none;
    background: #f8bbd0;
    color: #880e4f;
    font-size: 16px;
    outline: none;
    height: 100%;
}
input#external_input{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.form#bigo-form input::placeholder {
    color: #ad1457;
    opacity: 0.7;
}

form#bigo-form .input.error {
    border: 2px solid #f44336;
    background-color: #ffebee;
}

form#bigo-form .btn {
    padding: 12px 20px;
    font-size: 14px;
    height: auto;
    border: none;
    background: #ec407a;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

form#bigo-form .btn:hover:not(:disabled) {
    background: #d81b60;
}

form#bigo-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

form#bigo-form .user-fields {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
    padding: 12px;
    background: #fce4ec;
    border-radius: 8px;
}

form#bigo-form .user-fields img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

form#bigo-form .user-fields input {
    background: white;
    color: #333;
    border: 1px solid #e1bee7;
}

form#bigo-form .amount-input-card {
    background: #fce4ec;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

form#bigo-form .amount-input-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.form#bigo-form amount-input-row > .wpcf7-form-control-wrap{
    flex: 1;
}
.form#bigo-form amount-input {
    padding: 12px 16px;
    border: 2px solid #ec407a;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #880e4f;
    background: white;
    width: 100%;
}

form#bigo-form .amount-input.error {
    border-color: #f44336;
    background-color: #ffebee;
}

form#bigo-form .pdv-display {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #880e4f;
    font-weight: 600;
}

form#bigo-form .diamond-icon {
    width: 24px;
    height: 24px;
    background: url(/wp-content/themes/astra-child/assets/images/icon-diamond.png) no-repeat center;
    background-size: contain;
}

form#bigo-form .amount-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

form#bigo-form .amount-card {
    background: #ec407a;
    color: white;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 3px solid transparent;
}

form#bigo-form .amount-card:hover {
    background: #d81b60;
    transform: translateY(-2px);
}

form#bigo-form .amount-card.selected {
    border-color: #880e4f;
    box-shadow: 0 4px 12px rgba(236, 64, 122, 0.3);
}

form#bigo-form .amount-card .pdv {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

form#bigo-form .amount-card .vnd {
    font-size: 14px;
    opacity: 0.9;
}
form#bigo-form a.btn-primary{
    display: block;
    text-align: center;
}
form#bigo-form .btn-primary{
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ec407a, #ad1457);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
    transition: all 0.3s ease;
}

form#bigo-form .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 64, 122, 0.3);
}

form#bigo-form .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #ccc;
}

form#bigo-form .validation-error {
    color: #f44336;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

form#bigo-form .validation-error.show {
    display: block;
}

/* Step 2 Styles */
.order-info {form#bigo-form 
    background: #f3e5f5;
    border-radius: 12px;
    margin-bottom: 24px;
}

form#bigo-form .order-info h3 {
    color: #4a148c;
    margin-bottom: 16px;
    font-size: 18px;
}

form#bigo-form .info-row {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e1bee7;
}
form#bigo-form #step-3 h3{
    text-align: center;
    margin-bottom: 15px;
}
form#bigo-form .info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

form#bigo-form .info-label {
    color: #7b1fa2;
    font-weight: 500;
}

form#bigo-form .info-value {
    color: #4a148c;
    font-weight: 600;
    display: block;
}

form#bigo-form .qr-section {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

form#bigo-form .qr-container {
    display: inline-block;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 16px 0;
}

form#bigo-form .status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 0;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
}

form#bigo-form .status-pending {
    background: #fff3e0;
    color: #f57c00;
}

form#bigo-form .status-success {
    background: #e8f5e8;
    color: #2e7d32;
}

form#bigo-form .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #f57c00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Step 3 Styles */
.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
}

form#bigo-form .success-message {
    text-align: center;
}

form#bigo-form .success-message h2 {
    color: #2e7d32;
    margin-bottom: 16px;
    font-size: 24px;
}

form#bigo-form .success-message p {
    color: #FFF;
    line-height: 1.6;
    margin-bottom: 8px;
}

form#bigo-form .transaction-summary {
    background: #f3e5f5;
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
}

form#bigo-form .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

form#bigo-form .loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

form#bigo-form .loading-content {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-width: 480px;
}

form#bigo-form .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ec407a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

form#bigo-form .countdown {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}