/**
 * Tabby for Fluent Forms - Frontend CSS
 */

/* Tabby payment method styling */
.ff_tabby_payment_method {
    margin: 15px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.ff_tabby_payment_method .tabby-logo {
    max-height: 30px;
    vertical-align: middle;
    margin-right: 10px;
}

.ff_tabby_payment_method .tabby-title {
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
}

.ff_tabby_payment_method .tabby-description {
    margin-top: 10px;
    color: #666;
    font-size: 0.9em;
}

/* Tabby payment options */
.ff_tabby_payment_options {
    margin-top: 15px;
}

.ff_tabby_payment_options .tabby-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ff_tabby_payment_options .tabby-option:hover {
    border-color: #ccc;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ff_tabby_payment_options .tabby-option.selected {
    border-color: #0073aa;
    background-color: #f0f7fc;
}

.ff_tabby_payment_options .tabby-option-icon {
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

.ff_tabby_payment_options .tabby-option-details {
    flex: 1;
}

.ff_tabby_payment_options .tabby-option-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.ff_tabby_payment_options .tabby-option-description {
    font-size: 0.85em;
    color: #666;
}

/* Tabby checkout button */
.ff_tabby_checkout_button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ff_tabby_checkout_button:hover {
    background-color: #005f8b;
}

/* Tabby payment processing */
.ff_tabby_processing {
    text-align: center;
    padding: 20px;
}

.ff_tabby_processing .spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 115, 170, 0.3);
    border-radius: 50%;
    border-top-color: #0073aa;
    animation: tabby-spin 1s ease-in-out infinite;
}

@keyframes tabby-spin {
    to { transform: rotate(360deg); }
}

/* Responsive styles */
@media (max-width: 768px) {
    .ff_tabby_payment_options .tabby-option {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ff_tabby_payment_options .tabby-option-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
} 