/* Order Form Styles for Nebulytic */

/* Product Selection Styles */
.product-selection {
    margin-bottom: 30px;
}

.product-selection h3 {
    color: #a991ff;
    margin-bottom: 15px;
    text-align: center;
}

.product-options {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.product-option {
    flex: 1;
    min-width: 150px;
    background: rgba(20, 20, 50, 0.5);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.product-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(103, 58, 183, 0.3);
}

.product-option.selected {
    border-color: #a991ff;
    background: rgba(30, 30, 80, 0.7);
    box-shadow: 0 0 20px rgba(169, 145, 255, 0.5);
}

.product-option img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.product-option:hover img {
    transform: scale(1.05);
}

.product-option h4 {
    margin: 10px 0 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #0c1445 0%, #1a1f4b 100%);
    color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(103, 58, 183, 0.5);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #fff;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #a991ff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    background-color: rgba(20, 20, 50, 0.7);
    color: #fff;
    font-size: 16px;
    transition: border 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a991ff;
    box-shadow: 0 0 10px rgba(169, 145, 255, 0.3);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #a991ff;
    font-size: 0.8em;
}

/* Quote Container */
.quote-container {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(30, 30, 60, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    text-align: center;
}

.quote-container h3 {
    margin-top: 0;
    color: #a991ff;
}

.quote-amount {
    font-size: 24px;
    font-weight: bold;
    margin: 15px 0;
    color: #fff;
}

.quote-note {
    font-size: 0.9em;
    color: #a991ff;
    margin-bottom: 0;
}

/* Pricing Examples */
.pricing-examples {
    margin: 20px 0;
    padding: 15px;
    background-color: rgba(30, 30, 60, 0.5);
    border-radius: 8px;
}

.pricing-examples p {
    margin-top: 0;
    color: #a991ff;
    font-weight: 500;
}

.pricing-examples ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.pricing-examples li {
    padding: 5px 0;
    color: #ddd;
}

.pricing-examples li.highlighted {
    color: #fff;
    font-weight: bold;
    background-color: rgba(138, 43, 226, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px 0;
}

/* Order Confirmation */
.order-confirmation {
    text-align: center;
}

.confirmation-message {
    margin: 20px 0;
    line-height: 1.6;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #673ab7 0%, #9c27b0 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(103, 58, 183, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 58, 183, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(103, 58, 183, 0.3);
}

/* File Upload Styling */
input[type="file"] {
    padding: 10px;
    background-color: rgba(20, 20, 50, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .quote-amount {
        font-size: 20px;
    }
    
    .btn-primary {
        width: 100%;
    }
}
