/* MCN Auction - CI Design (Miele Center Neuwirth) */

* { box-sizing: border-box; }

.mcn-auction {
    max-width: 1060px;
    margin: 0 auto;
    padding: 24px;
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1f1f1f;
    line-height: 1.5;
}

/* === Two-column layout === */
.mcn-auction-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.mcn-auction-col-left {
    flex: 1;
    min-width: 0;
}

.mcn-auction-col-right {
    width: 360px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
}

/* === Image Slider === */
.mcn-auction-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f0f0f0;
    aspect-ratio: 4/3;
}

.mcn-auction-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.mcn-auction-slider img.active {
    display: block;
}

.mcn-auction-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.mcn-auction-slider-btn:hover {
    background: #fff;
}

.mcn-auction-slider-prev { left: 10px; }
.mcn-auction-slider-next { right: 10px; }

.mcn-auction-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.mcn-auction-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.mcn-auction-slider-dot.active {
    background: #fff;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* === Product Header === */
.mcn-auction-product {
    margin-bottom: 20px;
}

.mcn-auction-product-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 16px;
}

.mcn-auction-product-name {
    font-size: 26px;
    font-weight: 700;
    color: #1f1f1f;
    margin: 0 0 10px 0;
}

.mcn-auction-product-description {
    font-size: 14px;
    color: #595959;
    margin: 0 0 16px 0;
    line-height: 1.6;
}

/* === Current Price === */
.mcn-auction-price-box {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 2px solid #a81628;
    margin-bottom: 16px;
}

.mcn-auction-price-label {
    font-size: 12px;
    color: #595959;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 4px 0;
}

.mcn-auction-price-value {
    font-size: 36px;
    font-weight: 700;
    color: #a81628;
    margin: 0;
}

.mcn-auction-bid-count {
    font-size: 13px;
    color: #595959;
    margin: 4px 0 0 0;
}

/* === Countdown === */
.mcn-auction-countdown {
    text-align: center;
    margin-bottom: 20px;
}

.mcn-auction-countdown-label {
    font-size: 12px;
    color: #595959;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mcn-auction-countdown-timer {
    font-size: 26px;
    font-weight: 600;
    color: #1f1f1f;
    font-variant-numeric: tabular-nums;
}

.mcn-auction-countdown-timer.ending-soon {
    color: #a81628;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.mcn-auction-ended-banner {
    text-align: center;
    padding: 16px;
    background: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #595959;
}

/* === Divider === */
.mcn-auction-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0;
}

/* === Form Elements === */
.mcn-auction-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f1f1f;
    margin: 0 0 14px 0;
}

.mcn-auction-field {
    margin-bottom: 14px;
}

.mcn-auction-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #1f1f1f;
    margin-bottom: 4px;
}

.mcn-auction-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mcn-auction-input:focus {
    border-color: #a81628;
    box-shadow: 0 0 0 3px rgba(168, 22, 40, 0.15);
}

.mcn-auction-input.error {
    border-color: #dc3545;
}

.mcn-auction-input-bid {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
}

.mcn-auction-input-code {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 8px;
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

/* === Checkbox === */
.mcn-auction-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
}

.mcn-auction-checkbox-wrap input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #a81628;
}

.mcn-auction-checkbox-label {
    font-size: 13px;
    color: #595959;
    cursor: pointer;
}

/* === Buttons === */
.mcn-auction-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: #a81628;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.mcn-auction-btn:hover { background: #8c1221; }
.mcn-auction-btn:active { transform: scale(0.98); }
.mcn-auction-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }

/* === Error / Success Messages === */
.mcn-auction-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
}

.mcn-auction-field-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 2px;
}

.mcn-auction-success {
    text-align: center;
    padding: 12px;
    background: #d4edda;
    color: #155724;
    border-radius: 6px;
    margin-bottom: 14px;
    font-weight: 500;
    font-size: 14px;
}

/* === Bid List === */
.mcn-auction-bid-list {
    margin-top: 16px;
}

.mcn-auction-bid-list-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f1f1f;
    margin: 0 0 10px 0;
}

.mcn-auction-bid-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mcn-auction-bid-item:first-child {
    background: rgba(168, 22, 40, 0.03);
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 4px;
    border-bottom: none;
}

.mcn-auction-bid-left {
    display: flex;
    flex-direction: column;
}

.mcn-auction-bid-name { font-size: 13px; font-weight: 500; color: #1f1f1f; }
.mcn-auction-bid-time { font-size: 11px; color: #595959; }
.mcn-auction-bid-amount { font-size: 15px; font-weight: 600; color: #a81628; white-space: nowrap; }

.mcn-auction-no-bids {
    text-align: center;
    color: #595959;
    font-size: 13px;
    padding: 12px 0;
}

/* === Verification === */
.mcn-auction-verify-info {
    text-align: center;
    margin-bottom: 14px;
    font-size: 14px;
    color: #595959;
}

.mcn-auction-verify-email { font-weight: 600; color: #1f1f1f; }

.mcn-auction-resend-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #a81628;
    cursor: pointer;
    text-decoration: underline;
    background: none;
    border: none;
    font-family: inherit;
}

.mcn-auction-resend-link:hover { color: #8c1221; }

/* === Min bid info === */
.mcn-auction-min-bid {
    text-align: center;
    font-size: 13px;
    color: #595959;
    margin-bottom: 10px;
}

.mcn-auction-min-bid strong { color: #1f1f1f; }

/* === Verification Method Toggle === */
.mcn-auction-verify-toggle {
    display: flex;
    gap: 12px;
}

.mcn-auction-toggle-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #1f1f1f;
}

.mcn-auction-toggle-option input[type="radio"] {
    accent-color: #a81628;
    width: 16px;
    height: 16px;
}

/* === Privacy note === */
.mcn-auction-privacy-note {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-top: 14px;
}

/* === Responsive === */
@media (max-width: 768px) {
    .mcn-auction-layout {
        flex-direction: column;
    }

    .mcn-auction-col-right {
        width: 100%;
        position: static;
    }

    .mcn-auction-slider {
        aspect-ratio: 16/10;
    }
}

@media (max-width: 480px) {
    .mcn-auction {
        padding: 16px;
    }

    .mcn-auction-product-name {
        font-size: 20px;
    }

    .mcn-auction-price-value {
        font-size: 28px;
    }

    .mcn-auction-countdown-timer {
        font-size: 22px;
    }

    .mcn-auction-bid-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .mcn-auction-bid-amount {
        font-size: 14px;
    }
}
