
/* General Styles */
.aimaji-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.aimaji-header {
    text-align: center;
    margin-bottom: 40px;
}

.aimaji-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.aimaji-tagline {
    font-size: 18px;
    color: #666;
    margin-top: 0;
}

/* Package Styles */
.aimaji-packages {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 50px;
}

.aimaji-package {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    background-color: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.aimaji-package:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.aimaji-package-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #FF6B6B;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.aimaji-package-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.aimaji-package-icon {
    font-size: 30px;
    margin-right: 15px;
    color: #4A90E2;
}

.aimaji-package-title {
    flex: 1;
    margin: 0;
    font-size: 22px;
    color: #333;
}

.aimaji-package-price {
    font-weight: bold;
    color: #4A90E2;
    font-size: 18px;
}

.aimaji-package-content {
    margin-bottom: 25px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.aimaji-package-footer {
    text-align: center;
}

.aimaji-choose-package {
    background-color: #4A90E2;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.aimaji-choose-package:hover {
    background-color: #357ABD;
}

/* Form Styles */
.aimaji-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.aimaji-form-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.aimaji-form-title {
    flex: 1;
    margin: 0;
    font-size: 24px;
}

.aimaji-back-button {
    background: none;
    border: none;
    font-size: 20px;
    color: #4A90E2;
    cursor: pointer;
    padding: 5px;
    margin-right: 10px;
}

.aimaji-form-section {
    margin-bottom: 30px;
}

.aimaji-form-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.aimaji-form-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.aimaji-form-field {
    margin-bottom: 20px;
}

.aimaji-form-field label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.aimaji-form-field input[type="text"],
.aimaji-form-field input[type="email"],
.aimaji-form-field input[type="tel"],
.aimaji-form-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.aimaji-form-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* Upload Styles */
.aimaji-upload-container {
    margin-bottom: 25px;
}

.aimaji-upload-field {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.aimaji-upload-field input[type="file"] {
    display: none;
}

.aimaji-upload-button {
    background-color: #4A90E2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}

.aimaji-upload-button:hover {
    background-color: #357ABD;
}

.aimaji-upload-preview {
    display: none;
    margin-top: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 10px;
}

.aimaji-upload-preview img {
    max-width: 100%;
    max-height: 200px;
    display: block;
    margin: 0 auto;
}

.aimaji-upload-files {
    margin-top: 15px;
}

.aimaji-uploaded-file {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.aimaji-file-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
}

.aimaji-file-delete {
    background-color: #FF6B6B;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.aimaji-file-delete:hover {
    background-color: #E95555;
}

/* Theme Selection */
.aimaji-theme-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.aimaji-theme-option {
    flex: 1;
    min-width: 100px;
    max-width: 200px;
}

.aimaji-theme-option input[type="radio"] {
    display: none;
}

.aimaji-theme-option label {
    display: block;
    text-align: center;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.aimaji-theme-option input[type="radio"]:checked + label {
    background-color: #4A90E2;
    color: white;
}

/* Iklan Form */
.aimaji-iklan-message {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 30px;
}

.aimaji-whatsapp-button {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.aimaji-whatsapp-button:hover {
    background-color: #1DB954;
}

.aimaji-whatsapp-button .dashicons {
    margin-right: 8px;
    font-size: 18px;
}

/* Form Footer */
.aimaji-form-footer {
    text-align: center;
    margin-top: 40px;
}

.aimaji-submit-button {
    background-color: #4A90E2;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.aimaji-submit-button:hover {
    background-color: #357ABD;
}

/* Footer */
.aimaji-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    text-align: center;
}

.aimaji-social {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.aimaji-social-link {
    display: flex;
    align-items: center;
    color: #4A90E2;
    text-decoration: none;
    font-weight: 500;
}

.aimaji-social-link .dashicons {
    margin-right: 5px;
    font-size: 18px;
}

.aimaji-bank-info {
    margin-bottom: 30px;
    color: #666;
}

.aimaji-clients {
    margin-top: 40px;
}

.aimaji-clients h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
}

.aimaji-clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.aimaji-clients-logos img {
    max-width: 100px;
    max-height: 60px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.aimaji-clients-logos img:hover {
    opacity: 1;
}

/* Loading Overlay */
.aimaji-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.aimaji-loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4A90E2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .aimaji-packages {
        flex-direction: column;
        align-items: center;
    }
    
    .aimaji-package {
        width: 100%;
        max-width: 100%;
    }
    
    .aimaji-form-container {
        padding: 20px;
    }
    
    .aimaji-theme-selection {
        flex-direction: column;
    }
    
    .aimaji-theme-option {
        max-width: 100%;
    }
    
    .aimaji-clients-logos {
        gap: 15px;
    }
    
    .aimaji-clients-logos img {
        max-width: 80px;
        max-height: 50px;
    }
}



.aimaji-checkout-column-left,
.aimaji-checkout-column-right {
    padding: 0 15px;
    margin-bottom: 30px;
}

.aimaji-checkout-column-left {
    flex: 1;
    min-width: 300px;
}

.aimaji-checkout-column-right {
    flex: 1;
    min-width: 300px;
}

.aimaji-order-summary,
.aimaji-checkout-form-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.aimaji-order-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.aimaji-order-item:last-child {
    border-bottom: none;
}

.aimaji-order-product h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

.aimaji-order-price {
    font-weight: bold;
    color: #4A90E2;
}

.aimaji-uploaded-thumbnails {
    margin-bottom: 20px;
}

.aimaji-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.aimaji-thumbnail {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.aimaji-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.aimaji-order-subtotal {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.aimaji-coupon-form {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.aimaji-coupon-field {
    display: flex;
    gap: 10px;
}

.aimaji-coupon-field input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.aimaji-coupon-field button {
    background-color: #4A90E2;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.aimaji-applied-coupons {
    margin-top: 10px;
    font-size: 0.9em;
}

.aimaji-applied-coupons ul {
    list-style: none;
    padding-left: 0;
    margin: 5px 0;
}

.aimaji-remove-coupon {
    color: #e74c3c;
    text-decoration: none;
    margin-left: 5px;
    font-size: 0.9em;
}

.aimaji-order-total {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #eee;
}

.aimaji-customer-info {
    margin-bottom: 30px;
}

.aimaji-form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 15px;
}

.aimaji-form-col {
    flex: 1;
    min-width: 200px;
    padding: 0 10px;
}

.aimaji-form-col label {
    display: block;
    margin-bottom: 5px;
}

.aimaji-form-col input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.aimaji-payment-methods {
    margin-bottom: 30px;
}

.aimaji-payment-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.aimaji-payment-option:hover {
    background-color: #f9f9f9;
}

.aimaji-payment-option input {
    margin-right: 10px;
    margin-top: 3px;
}

.aimaji-payment-option label {
    flex: 1;
}

.aimaji-payment-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    width: 100%;
}

.aimaji-checkout-button {
    background-color: #4A90E2;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1.1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.aimaji-checkout-button:hover {
    background-color: #3b7bc8;
}

.aimaji-checkout-note {
    font-size: 0.9em;
    color: #777;
    text-align: center;
    margin-top: 15px;
}

.aimaji-checkout-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.aimaji-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.aimaji-social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #4A90E2;
}

.aimaji-social-link .dashicons {
    margin-right: 5px;
}

.aimaji-notices {
    margin-bottom: 20px;
}

.woocommerce-error {
    border-left: 4px solid #e74c3c;
    padding: 10px 15px;
    background-color: #fae9e8;
    color: #c0392b;
    margin-bottom: 20px;
    list-style: none;
}

@media (max-width: 768px) {
    .aimaji-checkout-column-left,
    .aimaji-checkout-column-right {
        flex: 100%;
    }
    
    .aimaji-form-row {
        flex-direction: column;
    }
    
    .aimaji-form-col {
        margin-bottom: 15px;
    }
    
    .aimaji-coupon-field {
        flex-direction: column;
    }
}
