/* Rental Container Styles */
.rental-container {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 28px;
    border: 1px solid #EAEAEA;
    padding: 32px;
    max-width: 100%;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.rental-container:hover {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 12px 32px;
}

.rental-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.price-display {
    display: flex;
    align-items: baseline;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: #000125;
    letter-spacing: -0.5px;
}

.price-period {
    font-size: 16px;
    color: #666;
    margin-left: 4px;
}

/* Date Picker Styling */
.date-picker-wrapper {
    background: #F8F8F8;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 28px;
}

.date-picker-header {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
}

.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.date-field {
    position: relative;
    background: white;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.date-field:hover {
    border-color: #E6E6E6;
}

.date-field.focused {
    border-color: #000125;
    box-shadow: 0 0 0 4px rgba(0, 1, 37, 0.1);
}

.date-field label {
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

.date-field input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 28px 12px 10px;
    font-size: 15px;
    color: #222;
}

.date-field input:focus {
    outline: none;
}

/* Price Breakdown Styling */
.price-breakdown {
    background: #F8F8F8;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.breakdown-header {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breakdown-header i {
    font-size: 24px;
    color: #000125;
}

.breakdown-total {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Button Styling */
.reserve-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #000125 0%, #1a1b4b 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reserve-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 1, 37, 0.2);
}

.reserve-button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.reserve-button:hover i {
    transform: translateX(4px);
}

.rental-notice {
    text-align: center;
    margin-top: 16px;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.rental-notice i {
    color: #00A699;
}

/* Similar Products Styling */
.vendor-product-section {
    margin: 30px 0;
    padding: 20px 0;
    background: #fff;
}

.title-link-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.title-link-wrapper .title {
    font-size: 20px;
    font-weight: 500;
    color: #222;
    margin: 0;
    position: relative;
    padding-bottom: 8px;
}

.title-link-wrapper .title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: #222;
}

.btn-slide-right {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #222;
    color: #fff;
    border-radius: 4px;
    font-weight: 400;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 13px;
}

.btn-slide-right:hover {
    background: #444;
    color: #fff;
}

/* Product Wrap Styles */
.product-wrap {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin: 6px 0;
    padding: 12px;
}

.product-wrap:hover {
    border-color: #222;
}

.product-name {
    font-size: 14px;
    margin: 10px 0;
    padding: 0 4px;
}

.product-name a {
    color: #222;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s ease;
}

.product-name a:hover {
    color: #444;
}

.product-divider {
    margin: 10px -12px;
    border-top: 1px solid #eee;
}

/* Product Media Styles */
.product-media {
    position: relative;
    margin: 10px auto;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1;
    width: 200px;
    height: 200px;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

/* Rental Periods Styles */
.benzer_kiralik_periyotlar {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 5px;
    margin-bottom: -10px;
    margin-left: -12px;
    margin-right: -12px;
    justify-content: space-between;
}

.benzer_kiralik_periyotlar .benzer_kiralik_periyot {
    background: #000125;
    color: #fff;
    text-align: center;
    font-size: 11px;
    font-weight: 100;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    align-content: space-between;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    flex: 1;
    min-width: 0;
}

.benzer_kiralik_periyotlar .benzer_kiralik_periyot:last-child {
    border-right: none;
}

.benzer_kiralik_periyotlar .benzer_kiralik_periyot span {
    display: inline-block;
    width: 100%;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price Table Link Styles */
.price-table-link a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000125;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.price-table-link a:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.price-table-link i {
    font-size: 16px;
}

/* Custom Modal Styles */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

.custom-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease;
}

.custom-modal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #000125 0%, #1a1b4b 100%);
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.modal-title-wrapper i {
    font-size: 24px;
}

.modal-title-wrapper h5 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.close-modal {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal i {
    color: #fff;
    font-size: 18px;
}

.close-modal:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.custom-modal-body {
    padding: 30px;
}

/* Price Cards Styles */
.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.price-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.price-card.featured {
    background: linear-gradient(135deg, #000125 0%, #1a1b4b 100%);
    color: #fff;
    border: none;
    margin-top: 10px;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4757;
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
    white-space: nowrap;
}

/* Contents Container Styles */
.contents-container {
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contents-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contents-header h3 {
    color: #000125;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contents-header p {
    color: #666;
    font-size: 1.2rem;
    font-weight: 500;
}

.contents-table {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #eee;
}

.content-row {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.content-row:last-child {
    border-bottom: none;
}

.content-row:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.content-check {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #000125 0%, #1a1b4b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 1, 37, 0.15);
}

.content-check i {
    color: #fff;
    font-size: 16px;
}

.content-item {
    font-size: 1.15rem;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .rental-container {
        padding: 20px;
        margin: 15px 0;
    }

    .rental-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .price-display {
        width: 100%;
        justify-content: center;
        background: #f8f9fa;
        padding: 15px;
        border-radius: 12px;
    }

    .current-price {
        font-size: 24px;
    }

    .price-period {
        font-size: 14px;
    }

    .price-table-link {
        width: 100%;
    }

    .price-table-link a {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 14px;
        background: #000125;
        color: #fff;
    }

    .price-table-link a:hover {
        background: #1a1b4b;
        transform: none;
    }

    .price-table-link i {
        font-size: 14px;
    }

    .price-breakdown {
        margin-bottom: 15px;
    }

    #totalPriceWithDays {
        font-size: 18px;
    }

    .product-media {
        width: 100%;
        max-width: 180px;
        height: 180px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-media img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        padding: 5px;
        transform: none !important;
        transition: none !important;
    }

    .product-wrap:hover .product-media img {
        transform: none !important;
    }

    .benzer_kiralik_periyotlar {
        margin: 5px -12px -10px -12px;
    }

    .benzer_kiralik_periyotlar .benzer_kiralik_periyot {
        padding: 4px 0;
    }

    .benzer_kiralik_periyotlar .benzer_kiralik_periyot span {
        font-size: 11px;
    }

    .custom-modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        overflow-y: auto;
    }

    .custom-modal-header {
        padding: 15px;
        border-radius: 0;
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .modal-title-wrapper h5 {
        font-size: 16px;
    }

    .custom-modal-body {
        padding: 15px;
    }

    .price-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .price-card {
        padding: 15px;
        margin-bottom: 10px;
    }

    .price-card.featured {
        margin: 15px 0;
    }

    .contents-container {
        padding: 1.5rem;
    }

    .contents-header h3 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .contents-header p {
        font-size: 1.1rem;
    }

    .content-row {
        padding: 1.2rem 1.5rem;
    }

    .content-check {
        width: 28px;
        height: 28px;
        margin-right: 1.2rem;
    }

    .content-check i {
        font-size: 14px;
    }

    .content-item {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .benzer_kiralik_periyotlar .benzer_kiralik_periyot {
        padding: 3px;
        font-size: 9px;
    }

    .benzer_kiralik_periyotlar .benzer_kiralik_periyot span {
        font-size: 10px;
    }

    .product-media {
        max-width: 150px;
        height: 150px;
    }
}

@media (min-width: 769px) {
    .product-media img {
        transition: all 0.2s ease;
    }
    .product-wrap:hover .product-media img {
        transform: scale(1.02);
    }
} 