.auction-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.auction-modal .modal-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.auction-modal .close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
    z-index: 1;
}

.auction-modal .close-modal:hover {
    color: #333;
}

.auction-modal .modal-body {
    display: flex;
    padding: 30px;
    gap: 30px;
}

.auction-modal .modal-image-gallery {
    flex: 1;
    max-width: 500px;
}

.auction-modal .main-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.auction-modal .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auction-modal .image-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.auction-modal .thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.auction-modal .thumbnail.active {
    border-color: #2196F3;
}

.auction-modal .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auction-modal .modal-info {
    flex: 1;
    padding-right: 20px;
}

.auction-modal .modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.auction-modal .modal-details {
    margin-bottom: 30px;
}

.auction-modal .info-row {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

.auction-modal .info-label {
    width: 100px;
    color: #666;
    font-weight: 500;
}

.auction-modal .info-value {
    flex: 1;
    color: #333;
}

.auction-modal #modalStartingPrice {
    color: #e53935;
    font-weight: bold;
    font-size: 1.2em;
}

.auction-modal #modalStatus {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 500;
}

.auction-modal .modal-description {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.auction-modal .modal-description h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.auction-modal .modal-description p {
    color: #666;
    line-height: 1.6;
}

.auction-modal .bid-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, #e53935, #ff1744);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.auction-modal .bid-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

.auction-modal .bid-button:active {
    transform: translateY(0);
}

/* 响应式布局 */
@media (max-width: 768px) {
    .auction-modal .modal-body {
        flex-direction: column;
    }

    .auction-modal .modal-image-gallery {
        max-width: 100%;
    }

    .auction-modal .main-image {
        height: 300px;
    }
}

/* 竞拍信息面板样式 */
.bid-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    z-index: 1100;
    width: 90%;
    max-width: 400px;
    animation: panelSlideIn 0.3s ease;
}

@keyframes panelSlideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.bid-panel h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
    text-align: center;
}

.bid-panel .form-group {
    margin-bottom: 15px;
}

.bid-panel label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 14px;
}

.bid-panel input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.bid-panel input:focus {
    border-color: #e53935;
    outline: none;
}

.bid-panel .button-group {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.bid-panel .submit-btn {
    padding: 10px 20px;
    background: linear-gradient(45deg, #e53935, #ff1744);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bid-panel .cancel-btn {
    padding: 10px 20px;
    background: #f5f5f5;
    color: #666;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bid-panel .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

.bid-panel .cancel-btn:hover {
    background: #eeeeee;
}

.bid-panel-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
}

/* 消息提示框样式 */
.message-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: #4CAF50;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.message-toast.show {
    transform: translateX(0);
}

.message-toast i {
    font-size: 20px;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(120%);
    }
}

.message-toast.hide {
    animation: slideOut 0.3s ease forwards;
} 