/**
 * V001 Direct Checkout Frontend Styles
 * Color Scheme: Minimalistic & Sophisticated - Soft Gray/Blue Professional Design
 */

/* Main Wrapper */
#dcv001-checkout-wrapper {
    max-width: 100%;
    margin: 30px 0;
    font-family: 'SolaimanLipi', 'Kalpurush', Arial, sans-serif;
}

/* Product Title Button - Minimalistic Sophisticated Design */
.dcv001-product-title-button {
    text-align: center;
    margin-bottom: 25px;
}

.dcv001-title-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2c3e50;
    border: 2px solid #95a5a6;
    border-radius: 12px;
    padding: 18px 45px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: default;
    box-shadow: 0 4px 15px rgba(52, 73, 94, 0.15);
    text-shadow: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dcv001-title-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #95a5a6, #bdc3c7, #95a5a6);
    background-size: 200% 200%;
    animation: dcv001-border-subtle 3s ease-in-out infinite;
    border-radius: 12px;
    z-index: -1;
    opacity: 0.5;
}

@keyframes dcv001-border-subtle {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Special Offer Box - Minimalistic Clean Design */
.dcv001-offer-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.dcv001-offer-title {
    font-size: 24px;
    font-weight: 600;
    color: #34495e;
    margin: 0 0 10px 0;
    position: relative;
    z-index: 1;
}

.dcv001-offer-text {
    font-size: 16px;
    line-height: 1.7;
    color: #2c2c2c;
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.dcv001-offer-sparkle {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    color: #b8860b;
    margin-top: 8px;
    animation: dcv001-sparkle 2s infinite;
}

@keyframes dcv001-sparkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Form Container - Light Gold Gradient Background */
.dcv001-form-container {
    background: linear-gradient(135deg, #fff8dc 0%, #f5deb3 25%, #faf0c8 50%, #ffeaa7 75%, #f5deb3 100%);
    border: 3px solid #d4af37;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    position: relative;
}

.dcv001-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.1) 10px,
            rgba(255, 255, 255, 0.1) 20px
        );
    border-radius: 15px;
    pointer-events: none;
}

/* Form Groups */
.dcv001-form-group {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* Labels */
.dcv001-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(212, 175, 55, 0.3);
}

.required {
    color: #d32f2f;
    font-weight: 700;
}

/* Select Inputs */
.dcv001-select {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 2px solid #d4af37;
    border-radius: 8px;
    background: #ffffff;
    color: #2c2c2c;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
}

.dcv001-select::placeholder {
    color: #b8860b;
    opacity: 0.7;
}

.dcv001-select:hover {
    border-color: #b8860b;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.dcv001-select:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    background: #fffef8;
}

/* Text Inputs */
.dcv001-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 2px solid #d4af37;
    border-radius: 8px;
    background: #ffffff;
    color: #2c2c2c;
    transition: all 0.3s ease;
    font-weight: 600;
}

.dcv001-input::placeholder {
    color: #b8860b;
    opacity: 0.7;
}

.dcv001-input:hover {
    border-color: #b8860b;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.dcv001-input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    background: #fffef8;
}

/* Textarea */
.dcv001-textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 2px solid #d4af37;
    border-radius: 8px;
    background: #ffffff;
    color: #2c2c2c;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.dcv001-textarea::placeholder {
    color: #b8860b;
    opacity: 0.7;
}

.dcv001-textarea:hover {
    border-color: #b8860b;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.dcv001-textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    background: #fffef8;
}

/* Color Images Display */
.dcv001-color-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.dcv001-color-images img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.dcv001-color-images img:hover {
    transform: scale(1.05);
}

.dcv001-color-images.single-image img {
    max-width: 400px;
}

.dcv001-color-images.double-image img {
    max-width: 300px;
}

/* Zero Power Banner - Light Blue */
#dcv001-zero-power-banner {
    background: linear-gradient(135deg, #81d4fa 0%, #4fc3f7 50%, #29b6f6 100%);
    border: 3px solid #0277bd;
    border-radius: 12px;
    padding: 20px 25px;
    margin: 20px 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
    box-shadow: 0 6px 20px rgba(2, 119, 189, 0.4);
    position: relative;
    overflow: hidden;
    animation: dcv001-zero-banner-pulse 2s ease-in-out infinite;
}

@keyframes dcv001-zero-banner-pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(2, 119, 189, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(2, 119, 189, 0.6);
    }
}

#dcv001-zero-power-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: dcv001-slide 3s infinite;
}

@keyframes dcv001-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

#dcv001-zero-power-banner p {
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Divider */
.dcv001-divider {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
    margin: 25px 0;
}

/* Section Title */
.dcv001-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #d4af37;
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

/* Price Summary */
.dcv001-price-summary {
    background: linear-gradient(135deg, #f5deb3 0%, #f0e68c 100%);
    border: 3px solid #b8860b;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 6px 15px rgba(184, 134, 11, 0.4);
}

.dcv001-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 16px;
    color: #2c2c2c;
    font-weight: 600;
}

.dcv001-total-row {
    border-top: 2px solid #d4af37;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    color: #1a1a1a;
}

#dcv001-product-price,
#dcv001-delivery-charge,
#dcv001-total-price {
    font-weight: 700;
    color: #1a1a1a;
}

/* Instruction Banner - Matching Gold Theme */
.dcv001-instruction-banner {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #f4d03f 100%);
    border: 3px solid #b8860b;
    border-radius: 12px;
    padding: 18px 25px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 6px 15px rgba(184, 134, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.dcv001-instruction-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: dcv001-slide 3s infinite;
}

.dcv001-instruction-banner p {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

/* Buy Now Button - Enhanced Gold with Pulse Effect */
.dcv001-button-wrapper {
    text-align: center;
    margin: 25px 0;
}

.dcv001-buy-now-button {
    background: linear-gradient(135deg, #43a047 0%, #66bb6a 50%, #81c784 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 20px 60px;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(67, 160, 71, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: none;
    position: relative;
    overflow: hidden;
    animation: dcv001-pulse 2s infinite;
}

@keyframes dcv001-pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(67, 160, 71, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 30px rgba(67, 160, 71, 0.6);
        transform: scale(1.02);
    }
}

.dcv001-buy-now-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.dcv001-buy-now-button:hover::before {
    width: 300px;
    height: 300px;
}

.dcv001-buy-now-button:hover {
    background: linear-gradient(135deg, #2e7d32 0%, #43a047 50%, #66bb6a 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(67, 160, 71, 0.5);
    animation: none;
}

.dcv001-buy-now-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(67, 160, 71, 0.3);
}

.dcv001-btn-icon {
    font-size: 26px;
    position: relative;
    z-index: 1;
}

.dcv001-buy-now-button span {
    position: relative;
    z-index: 1;
}

/* Loading Overlay */
#dcv001-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

#dcv001-loading p {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
}

/* Spinner */
.dcv001-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #ffd700;
    border-radius: 50%;
    animation: dcv001-spin 1s linear infinite;
}

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

/* Error Message */
#dcv001-error-message {
    background: #ffebee;
    border: 2px solid #ef5350;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    color: #c62828;
    font-size: 15px;
    font-weight: 600;
}

/* Age Confirmation Banner */
#dcv001-age-confirmation {
    background: linear-gradient(135deg, #37474f 0%, #455a64 50%, #546e7a 100%);
    border: 3px solid #263238;
    border-radius: 12px;
    padding: 20px 25px;
    margin: 20px 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
    box-shadow: 0 6px 20px rgba(38, 50, 56, 0.4);
    position: relative;
    overflow: hidden;
}

#dcv001-age-confirmation::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffeb3b, #ffc107, #ff9800, #ffeb3b);
    background-size: 300% 300%;
    animation: dcv001-border-glow 3s ease infinite;
    border-radius: 12px;
    z-index: -1;
}

@keyframes dcv001-border-glow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

#dcv001-age-confirmation p {
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#dcv001-age-confirmation strong {
    color: #ffeb3b;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dcv001-form-container {
        padding: 20px;
    }
    
    .dcv001-title-btn {
        font-size: 24px;
        padding: 15px 30px;
    }
    
    .dcv001-offer-title {
        font-size: 20px;
    }
    
    .dcv001-offer-text {
        font-size: 14px;
    }
    
    .dcv001-buy-now-button {
        width: 100%;
        padding: 16px 30px;
        font-size: 18px;
    }
    
    .dcv001-label {
        font-size: 15px;
    }
    
    .dcv001-select,
    .dcv001-input,
    .dcv001-textarea {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .dcv001-price-row {
        font-size: 15px;
    }
    
    .dcv001-total-row {
        font-size: 17px;
    }
    
    .dcv001-color-images.single-image img {
        max-width: 100%;
    }
    
    .dcv001-color-images.double-image {
        flex-direction: column;
    }
    
    .dcv001-color-images.double-image img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .dcv001-offer-box {
        padding: 15px;
    }
    
    .dcv001-form-container {
        padding: 15px;
    }
    
    .dcv001-title-btn {
        font-size: 20px;
        padding: 12px 25px;
    }
    
    .dcv001-offer-title {
        font-size: 18px;
    }
    
    .dcv001-buy-now-button {
        font-size: 16px;
        padding: 14px 25px;
    }
}

/* Print Styles */
@media print {
    #dcv001-checkout-wrapper {
        display: none;
    }
}
