/* Bid Page Styles - Orange/Black Theme */
.bid-page-container {
    min-height: 100vh;
    background: #f8f9fa;
}

/* Header Section */
.bid-header {
    background: var(--theme-color, #FF6B35);
    color: white;
    padding: 15px 0;
    margin-bottom: 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bid-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.back-btn:hover {
    color: #f8f9fa;
    text-decoration: none;
}

.sahibinden-link {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    order: -1; /* Logo solda olacak */
}

.sahibinden-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.sahibinden-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.sahibinden-logo:hover {
    transform: scale(1.05);
}

.btn-action {
    background: #fff;
    color: var(--theme-color, #FF6B35);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-action.red {
    background: var(--theme-color, #FF6B35);
    color: white;
    border: 2px solid white;
}

/* Main Content Layout */
.bid-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Vehicle Details Section */
.vehicle-details-section {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Vehicle Gallery */
.vehicle-gallery {
    position: relative;
    margin-bottom: 20px;
}

.main-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-btn {
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--theme-color, #FF6B35);
    transform: scale(1.1);
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: var(--theme-color, #FF6B35);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-counter {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    font-size: 14px;
    color: #666;
}

/* Vehicle Info Card */
.vehicle-info-card {
    padding: 20px;
    border-top: 1px solid #eee;
}

.vehicle-info-card h2 {
    background: var(--theme-color, #FF6B35);
    color: white;
    margin: -20px -20px 20px -20px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row .label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.info-row .value {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

/* Important Notes */
.important-notes {
    padding: 20px;
    border-top: 1px solid #eee;
}

.important-notes h3 {
    background: var(--theme-color, #FF6B35);
    color: white;
    margin: -20px -20px 15px -20px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
}

.important-notes p {
    font-size: 12px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.warning-box i {
    color: #856404;
    margin-top: 2px;
}

.warning-box span {
    font-size: 12px;
    color: #856404;
    line-height: 1.4;
}

/* Location Info */
.location-info {
    padding: 20px;
    border-top: 1px solid #eee;
}

.location-info h3 {
    background: var(--theme-color, #FF6B35);
    color: white;
    margin: -20px -20px 15px -20px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
}

.location-details {
    display: grid;
    gap: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row .label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.detail-row .value {
    font-size: 12px;
    color: #333;
    font-weight: 600;
}

.status-badge {
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 5px;
}

/* Rules Section */
.rules-section {
    padding: 20px;
    border-top: 1px solid #eee;
}

.rules-section h3 {
    background: var(--theme-color, #FF6B35);
    color: white;
    margin: -20px -20px 15px -20px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
}

.rules-list {
    display: grid;
    gap: 12px;
}

.rule-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.rule-item .number {
    background: var(--theme-color, #FF6B35);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.rule-item .text {
    font-size: 11px;
    color: #333;
    line-height: 1.4;
}

/* Bid Section */
.bid-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Auction Timer */
.auction-timer {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 4px solid var(--theme-color, #FF6B35);
}

.timer-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.timer-display {
    font-size: 32px;
    font-weight: 700;
    color: var(--theme-color, #FF6B35);
    font-family: 'Courier New', monospace;
}

/* Current Bids */
.current-bids {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.bid-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bid-item:hover {
    background: #f8f9fa;
    border-color: var(--theme-color, #FF6B35);
}

.bid-item.highest {
    background: var(--theme-color, #FF6B35);
    color: white;
    border-color: var(--theme-color, #FF6B35);
}

.bid-item .amount {
    font-size: 14px;
    font-weight: 600;
}

.bid-item .label {
    font-size: 12px;
    opacity: 0.8;
}

.bid-item .value {
    font-size: 14px;
    font-weight: 700;
}

/* Bid Form */
.bid-form-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.btn-bid-action {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-bid-action.primary {
    background: linear-gradient(135deg, var(--theme-color, #FF6B35), #ff8c42);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-bid-action.primary:hover {
    background: linear-gradient(135deg, #ff8c42, var(--theme-color, #FF6B35));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-bid-action.secondary {
    background: #2c3e50;
    color: white;
}

.btn-bid-action.secondary:hover {
    background: #34495e;
    transform: translateY(-1px);
}

.bid-summary {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-item .label {
    font-size: 12px;
    color: #666;
}

.summary-item .value {
    font-size: 12px;
    color: #333;
    font-weight: 600;
}

/* Bid Modal */
.bid-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.bid-modal.active {
    display: flex;
}

.bid-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin: auto;
}

.bid-modal-header {
    background: var(--theme-color, #FF6B35);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.bid-modal-title {
    font-size: 18px;
    font-weight: 600;
}

.bid-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.bid-modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.bid-modal-body {
    padding: 30px;
    text-align: center;
}

.bid-form-group {
    margin-bottom: 25px;
}

.bid-form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.bid-form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.bid-form-control:focus {
    outline: none;
    border-color: var(--theme-color, #FF6B35);
}

.bid-suggestions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.bid-suggestion-btn {
    padding: 8px 12px;
    border: 1px solid var(--theme-color, #FF6B35);
    background: white;
    color: var(--theme-color, #FF6B35);
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bid-suggestion-btn:hover {
    background: var(--theme-color, #FF6B35);
    color: white;
}

.bid-modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-modal-cancel {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    background: white;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.btn-modal-submit {
    flex: 2;
    padding: 15px;
    border: none;
    background: var(--theme-color, #FF6B35);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-modal-submit:hover {
    background: #ff8c42;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bid-content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .main-image {
        height: 250px;
    }
    
    .timer-display {
        font-size: 24px;
    }
    
    .thumbnail-gallery {
        justify-content: center;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .bid-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .bid-suggestions {
        grid-template-columns: 1fr;
    }
}
