/* Contact form styles */
.main-content .contact-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.main-content .contact-form table {
    width: 80%;
    margin: 0 auto 15px auto;
    border-collapse: separate;
    border-spacing: 0;
}

.main-content .contact-form td {
    padding: 8px 12px;
    vertical-align: top;
    border: none;
}

.main-content .contact-form td:first-child {
    width: 30%;
    text-align: right;
    padding-right: 15px;
}

.main-content .contact-form td:last-child {
    width: 70%;
}

.main-content .contact-form b {
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.main-content .contact-form input[type="text"],
.main-content .contact-form input[type="email"],
.main-content .contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #bdc3c7;
    border-radius: 5px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.main-content .contact-form input[type="text"]:focus,
.main-content .contact-form input[type="email"]:focus,
.main-content .contact-form textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
    transform: scale(1.02);
}

.main-content .contact-form textarea {
    resize: vertical;
    min-height: 100px;
    font-family: Arial, sans-serif;
}

.main-content .contact-form input[type="submit"] {
    background: linear-gradient(166deg, rgba(95,92,142,1) 0%, rgba(134,207,235,1) 53%, rgba(137,235,255,1) 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-top: 10px;
}

.main-content .contact-form input[type="submit"]:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    background: linear-gradient(166deg, rgba(85,82,132,1) 0%, rgba(124,197,225,1) 53%, rgba(127,225,245,1) 100%);
}

.main-content .contact-form center {
    text-align: center;
    margin-top: 20px;
}

/* Required field indicator */
.main-content .contact-form b[style*="color: #AA0000"] {
    color: #e74c3c !important;
    position: relative;
}

.main-content .contact-form b[style*="color: #AA0000"]:after {
    content: " *";
    color: #e74c3c;
    font-weight: bold;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .main-content .contact-form {
        margin: 10px;
        padding: 15px;
    }
    
    .main-content .contact-form table {
        width: 100%;
    }
    
    .main-content .contact-form td:first-child {
        width: 100%;
        text-align: left;
        padding-right: 12px;
        padding-bottom: 5px;
    }
    
    .main-content .contact-form td:last-child {
        width: 100%;
        padding-top: 0;
    }
    
    .main-content .contact-form tr {
        display: block;
        margin-bottom: 15px;
    }
    
    .main-content .contact-form td {
        display: block;
        width: 100%;
    }
    
    .main-content .contact-form input[type="submit"] {
        width: 100%;
        padding: 15px;
    }
}

/* Order form styles */
.order-form {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.order-form h3 {
    color: #2c3e50;
    font-size: 18px;
    margin: 8px 0 8px 0;
    padding-bottom: 4px;
    border-bottom: 2px solid #3498db;
}

/* Product and price display - not looking like input fields */
.order-form .product-display,
.order-form .price-display {
    background: linear-gradient(166deg, rgba(95,92,142,0.1) 0%, rgba(134,207,235,0.1) 53%, rgba(137,235,255,0.1) 100%);
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-form .price-display {
    color: #e74c3c;
    font-size: 20px;
    background: linear-gradient(166deg, rgba(231,76,60,0.1) 0%, rgba(231,76,60,0.05) 100%);
    border-color: #e74c3c;
}

/* Regular input fields */
.order-form .input {
    width: 100%;
    padding: 5px;
    border: 2px solid #bdc3c7;
    border-radius: 5px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.order-form .input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
    transform: scale(1.02);
}

.order-form textarea.input {
    resize: vertical;
    min-height: 80px;
    font-family: Arial, sans-serif;
}

/* Select dropdown */
.order-form select.input {
    cursor: pointer;
    background-color: white;
}

.order-form select.input:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
}

/* Submit button */
.order-form .btn-form {
    background: linear-gradient(166deg, rgba(95,92,142,1) 0%, rgba(134,207,235,1) 53%, rgba(137,235,255,1) 100%);
    color: white;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-top: 10px;
    width: 100%;
}

.order-form .btn-form:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    background: linear-gradient(166deg, rgba(85,82,132,1) 0%, rgba(124,197,225,1) 53%, rgba(127,225,245,1) 100%);
}

/* Labels and placeholders */
.order-form input::placeholder,
.order-form textarea::placeholder {
    color: #7f8c8d;
    font-style: italic;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .order-form {
        margin: 10px;
        padding: 15px;
    }
    
    .order-form .product-display,
    .order-form .price-display {
        padding: 12px;
        font-size: 14px;
    }
    
    .order-form .price-display {
        font-size: 18px;
    }
    
    .order-form .input {
        padding: 10px 12px;
    }
    
    .order-form .btn-form {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* Order confirmation page styles */
.order-confirmation {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    text-align: center;
}

.order-confirmation h2 {
    color: #27ae60;
    font-size: 24px;
    margin-bottom: 20px;
}

.order-confirmation .success-message {
    background: linear-gradient(166deg, rgba(39,174,96,0.1) 0%, rgba(46,204,113,0.1) 100%);
    border: 2px solid #27ae60;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    color: #27ae60;
    font-weight: bold;
    font-size: 16px;
}

.order-confirmation .warning-box {
    background: linear-gradient(166deg, rgba(231,76,60,0.1) 0%, rgba(192,57,43,0.1) 100%);
    border: 2px solid #e74c3c;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #c0392b;
    font-weight: bold;
}

.order-confirmation .info-box {
    background: linear-gradient(166deg, rgba(52,152,219,0.1) 0%, rgba(41,128,185,0.1) 100%);
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #2980b9;
    line-height: 1.6;
}

.order-confirmation .email-protection {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    color: #495057;
    font-size: 14px;
}

.order-confirmation .btn-close {
    background: linear-gradient(166deg, rgba(95,92,142,1) 0%, rgba(134,207,235,1) 53%, rgba(137,235,255,1) 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-top: 20px;
}

.order-confirmation .btn-close:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media screen and (max-width: 768px) {
    .order-confirmation {
        margin: 10px;
        padding: 20px;
    }
    
    .order-confirmation h2 {
        font-size: 20px;
    }
}

.buy-button:hover {
    opacity: 0.8;
    transform: scale(1.02);
    transition: all 0.2s ease;
}

.buy-button:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Button styles for forms */
.btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: Arial, sans-serif;
}

.btn-form {
    background: linear-gradient(166deg, rgba(95,92,142,1) 0%, rgba(134,207,235,1) 53%, rgba(137,235,255,1) 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-top: 20px;
    width: 100%;
}

.btn-form:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    background: linear-gradient(166deg, rgba(85,82,132,1) 0%, rgba(124,197,225,1) 53%, rgba(127,225,245,1) 100%);
}

.btn-form:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Mobile styles for buttons */
@media screen and (max-width: 768px) {
    .btn-form {
        padding: 12px 30px;
        font-size: 14px;
    }
}
