/* Auction Details Styles */
.stm-auction-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #dee2e6;
    display: none !important;
}

.auction-status {
    text-align: center;
    margin-bottom: 20px;
}

.auction-status h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

/* Status specific styles */
.auction-ended {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.auction-sold {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.auction-sold h3 {
    color: #dc3545;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.auction-upcoming {
    background: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.auction-active {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Countdown Timer */
.auction-countdown {
    text-align: center;
    margin-bottom: 25px;
}

.auction-countdown h4 {
    margin-bottom: 15px;
    color: #495057;
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.countdown-item {
    background: #fff;
    border-radius: 8px;
    padding: 15px 10px;
    min-width: 80px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #dee2e6;
}

.countdown-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Urgency styling */
.countdown-display.urgent .countdown-number {
    color: #ffc107;
}

.countdown-display.critical .countdown-number {
    color: #dc3545;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Bid Information */
.auction-bid-info {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    border: 1px solid #dee2e6;
}

.bid-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.starting-bid,
.current-bid,
.bid-increment {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.current-bid {
    background: #e8f5e8;
    border: 2px solid #28a745;
}

.bid-amounts .label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.bid-amounts .amount {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
}

.current-leader {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    border-left: 4px solid #28a745;
}

/* Bid Button */
.auction-bid-action {
    text-align: center;
    padding: 20px;
}

.auction-bid-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    color: white;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1000 !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    min-width: 180px;
}

.auction-bid-btn:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    color: white;
}

.auction-bid-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.auction-bid-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.auction-bid-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

.auction-bid-btn i {
    margin-right: 8px;
}

.auction-bid-btn::after, .step-next-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:transparent;
    border:0;
}

.auction-bid-btn:hover::after, .step-next-btn:hover::after, .step-next-btn:focus::after {
    background-color: transparent;
    border:0;
}

/* End Date */
.auction-end-date {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.auction-reserve {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    color: #6c757d;
}

/* Modal Styles */
.modal {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 100004 !important; /* მაქსიმალური z-index მოდალისთვის */
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5) !important; /* დაბრუნებული background overlay */
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-filter: none !important;
}

.modal.fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.fade.show,
.modal.fade.in {
    opacity: 1;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 40px auto;
    max-width: 500px;
    pointer-events: none;
    z-index: 100005 !important; /* modal-dialog ისთვის */
}

.modal-content {
    position: relative;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
    pointer-events: auto;
    outline: 0;
    z-index: 100006 !important; /* modal-content ისთვის უმაღლესი */
}

.modal-backdrop {
    display: none !important; /* Hide backdrop completely */
}

/* Prevent body scroll when modal is open - remove any blur effects */
body.modal-open {
    overflow: hidden;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-filter: none !important;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background: #f8f9fa;
}

.modal-title {
    margin: 0;
    line-height: 1.42857143;
    font-size: 18px;
    font-weight: 500;
}

.modal-title i {
    color: #007bff;
    margin-right: 8px;
}

.modal-body {
    position: relative;
    padding: 20px;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    background: #f8f9fa;
}

.modal-footer .btn + .btn {
    margin-left: 10px;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    margin: -2px -2px -2px auto;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .5;
}

/* Bid Form */
.current-bid-display {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #28a745;
}

.minimum-bid-info {
    color: #6c757d;
    font-size: 14px;
    margin-top: 5px;
}

.phone-input-group {
    display: flex;
    gap: 10px;
}

.phone-country {
    flex: 0 0 180px;
    max-height: 200px;
    overflow-y: auto;
    font-size: 14px;
}

.phone-country option {
    padding: 8px 12px;
    font-family: inherit;
}

/* Make emoji flags display properly in all browsers */
.phone-country option {
    line-height: 1.5;
    font-size: 13px;
}

/* Improve dropdown appearance */
.phone-country {
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 32px;
    position: relative;
    z-index: 100007 !important;
}

.phone-country:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: 0;
    z-index: 100008 !important;
}

/* dropdown options-ისთვის z-index */
.phone-country option {
    z-index: 100009 !important;
}

/* Ensure dropdown opens above modal content */
.phone-country[size],
.phone-country[multiple],
.phone-country:not([size]):not([multiple]):focus {
    z-index: 100010 !important;
    position: relative;
}

/* Phone input group-ს z-index */
.phone-input-group {
    position: relative;
    z-index: 100011;
}

.required {
    color: #dc3545;
}

.help-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

/* Payment Modal */
.payment-status-info {
    margin-bottom: 20px;
}

.payment-methods {
    margin-bottom: 20px;
}

.payment-option {
    margin-bottom: 10px;
}

.payment-btn {
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
}

.payment-btn i {
    margin-right: 10px;
    font-size: 18px;
}

/* OTP Modal */
#otp_code {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 8px;
    text-align: center;
}

/* Admin Styles */
.auction-section {
    margin: 20px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.report-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.report-box {
    background: #fff;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.auction-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Status indicators */
.auction-status-active {
    color: #28a745;
    font-weight: bold;
}

.auction-status-ended {
    color: #ffc107;
    font-weight: bold;
}

.auction-status-sold {
    color: #dc3545;
    font-weight: bold;
}

.countdown-cell {
    white-space: nowrap;
}

.countdown-timer {
    font-weight: bold;
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown-display {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px 5px;
    }
    
    .countdown-number {
        font-size: 18px;
    }
    
    .bid-amounts {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .phone-input-group {
        flex-direction: column;
    }
    
    .phone-country {
        flex: 1;
    }
    
    .report-options {
        grid-template-columns: 1fr;
    }
    
    .auction-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stm-auction-details {
        padding: 15px;
        margin: 15px 0;
    }
    
    .countdown-display {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 8px 4px;
    }
    
    .countdown-number {
        font-size: 16px;
    }
    
    .auction-bid-btn {
        width: 100%;
        padding: 12px;
    }
    
    .auction-stats {
        grid-template-columns: 1fr;
    }
}

/* Alert customizations */
.alert {
    border-radius: 6px;
    margin-bottom: 15px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Auction ended message */
.auction-ended-message {
    font-size: 18px;
    font-weight: bold;
    color: #dc3545;
    padding: 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    text-align: center;
    text-transform: uppercase;
}

/* Elementor compatibility fixes */
.elementor-element .modal {
    position: fixed !important;
}

/* Ensure modal is always visible when shown */
.modal.show {
    display: block !important;
    opacity: 1 !important;
}

.modal-backdrop.show {
    display: none !important; /* Keep backdrop hidden even when shown */
}

/* Fix for theme conflicts */
.modal * {
    box-sizing: border-box;
}

/* Remove all blur effects completely */
body, html, .elementor, .elementor-element, .elementor-container, .elementor-row, .elementor-column, 
.elementor-widget, .elementor-section, .page, .site, .main, .content, 
.single-listing, .listing-template, .stm-template, .motors-elementor,
#page, #main, #content, #wrapper, .wrapper, .container, .row, .col,
.site-content, .page-content, .entry-content {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
}

/* Ensure no overlay or background elements cause blur */
.modal::before,
.modal::after {
    display: none !important;
}

.modal-dialog {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-filter: none !important;
}

/* Disable all possible blur and overlay effects */
* {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Prevent any modal overlay effects */
body:has(.modal.show) *:not(.modal):not(.modal *) {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
}

/* Alternative approach - force no blur on everything when modal is open */
.modal.show ~ * {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-filter: none !important;
}

/* Force clear all page elements when modal is displayed */
.modal.show {
    background: none !important;
    background-color: transparent !important;
}

.modal.show + * {
    filter: none !important;
    backdrop-filter: none !important;
}

/* Ensure Elementor sections don't get blurred */
.elementor-section.elementor-element {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Ensure proper stacking */
.modal,
.modal-backdrop {
    position: fixed !important;
}

/* Additional form styling */
.form-control {
    height: 34px;
    line-height: 1.42857143;
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.form-control:focus {
    border-color: #007bff !important;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25) !important;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
    width: 100%;
}

.input-group-addon {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
    display: table-cell;
}

.input-group .form-control {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
    border-radius: 0 4px 4px 0;
    display: table-cell;
}

.checkbox {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.checkbox label {
    min-height: 20px;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

.checkbox input[type="checkbox"] {
    position: absolute;
    margin-top: 4px;
    margin-left: -20px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn:focus,
.btn:active:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.btn:hover,
.btn:focus {
    color: #333;
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover,
.btn-primary:focus {
    color: #fff;
    background-color: #0056b3;
    border-color: #004085;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-default:hover,
.btn-default:focus {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Floating Auction Button */
.stm-auction-floating-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: none; /* Hidden by default, shown via JavaScript */
}

.auction-floating-button {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auction-floating-button:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.auction-floating-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.auction-floating-button:hover::before {
    left: 100%;
}

.auction-icon {
    font-size: 22px;
    opacity: 0.95;
    animation: gavel-bounce 2s infinite ease-in-out;
}

@keyframes gavel-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    40% {
        transform: translateY(-8px) rotate(-5deg);
    }
    60% {
        transform: translateY(-4px) rotate(5deg);
    }
}



/* Auction Details Modal Enhancements */
#auction-details-modal .modal-dialog {
    max-width: 900px;
}

#auction-details-modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

#auction-details-modal .modal-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px 25px;
    border-bottom: none;
}

#auction-details-modal .modal-title {
    font-size: 20px;
    font-weight: 600;
}

#auction-details-modal .close {
    color: white;
    opacity: 0.8;
    font-size: 28px;
    text-shadow: none;
}

#auction-details-modal .close:hover {
    opacity: 1;
    color: white;
}

#auction-details-modal .modal-body {
    padding: 0;
    max-height: 70vh;
    overflow-y: auto;
}

#auction-details-modal #auction-details-content {
    padding: 25px;
}

#auction-details-modal .stm-auction-details {
    margin: 0;
    border: none;
    background: transparent;
    padding: 0;
    display: block !important;
}

/* Loading state */
.loading-auction-details {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 16px;
}

.loading-auction-details i {
    font-size: 24px;
    margin-right: 10px;
    color: #007bff;
}

/* States for floating button */
.auction-floating-button.sold {
    background: linear-gradient(135deg, #dc3545, #b02a37);
}

.auction-floating-button.sold:hover {
    background: linear-gradient(135deg, #b02a37, #8b1e2b);
}

.auction-floating-button.ended {
    background: linear-gradient(135deg, #ffc107, #d39e00);
    color: #212529;
}

.auction-floating-button.ended:hover {
    background: linear-gradient(135deg, #d39e00, #b08800);
    color: #212529;
}

.auction-floating-button.active {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.auction-floating-button.active:hover {
    background: linear-gradient(135deg, #1e7e34, #155724);
}

/* Pulse animation for active auctions */
.auction-floating-button.active {
    animation: auction-pulse 2s infinite;
}

/* New bid animation */
.auction-floating-button.new-bid-pulse {
    animation: new-bid-alert 1s ease-in-out;
}

@keyframes new-bid-alert {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
    }
    25% {
        transform: scale(1.1);
        box-shadow: 0 8px 30px rgba(40, 167, 69, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(255, 193, 7, 0.6);
    }
    75% {
        transform: scale(1.08);
        box-shadow: 0 8px 30px rgba(40, 167, 69, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
    }
}

@keyframes auction-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(40, 167, 69, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .stm-auction-floating-container {
        bottom: 15px;
        right: 15px;
    }

    .auction-floating-button {
        width: 50px;
        height: 50px;
    }

    .auction-icon {
        font-size: 18px;
    }

    #auction-details-modal .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    #auction-details-modal .modal-body {
        max-height: 60vh;
    }

    #auction-details-modal #auction-details-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .auction-floating-button {
        width: 45px;
        height: 45px;
    }

    .auction-icon {
        font-size: 16px;
    }
}

/* Show auction details when inside modal */
#auction-details-modal .stm-auction-details,
#auction-details-modal .stm-auction-details-modal {
    display: block !important;
}

/* Modal Step Navigation */
.modal-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    margin: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 20px;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 1;
    color: #28a745;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #007bff;
    color: white;
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step-label {
    font-size: 12px;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Step Lines */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: #dee2e6;
    transition: all 0.3s ease;
}

.step.completed:not(:last-child)::after {
    background: #28a745;
}

/* Modal Steps Content */
.modal-step {
    min-height: 400px;
    padding: 20px;
}

/* Step specific styles */
#step-2 .fa-mobile {
    color: #007bff;
}

#step-3 .fa-trophy {
    color: #28a745;
}

#step-3 .fa-exclamation-triangle {
    color: #ffc107;
}

.phone-display {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 20px;
}

.payment-methods {
    margin-top: 20px;
}

.payment-methods .btn {
    margin: 10px;
    min-width: 150px;
}

/* Mobile responsiveness for steps */
@media (max-width: 768px) {
    .modal-steps {
        padding: 15px 10px;
    }
    
    .step {
        margin: 0 10px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .step:not(:last-child)::after {
        right: -10px;
        width: 20px;
    }
    
    .modal-step {
        padding: 15px;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .step-label {
        display: none;
    }
    
    .step {
        margin: 0 5px;
    }
    
    .step:not(:last-child)::after {
        right: -5px;
        width: 10px;
    }
} 