﻿body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f2f2f2;
    margin: 0;
   
}
.container {
    max-width: 1200px;
    margin: auto;
}

.lookup-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    position:relative
}
.divotp {
    position: relative;
    text-align: center;
    width: 90%;
    float: left;
}
.content-warr {
    height: fit-content;
}
.lookup-section input {
    padding: 10px 20px;
    border: 1px solid #999;
    border-radius: 40px;
    font-size: 16px;
}

        .lookup-section input[type="text"] {
            max-width: 300px;
        }

        .lookup-section input[type="password"] {
            width: 180px;
            display: none;
        }
.hidesearch{display:none}
#unactivatedWarranties {
    display: none;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
    border-radius: 10px;

}
.lookup-section button {
    background-color: black;
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    height: auto;
    line-height: unset;
    font-size: unset;
}
.inlock {
    display: block;
}
.main-grid {
    display: grid;
    grid-template-columns: 30% 40% auto;
    gap: 20px;
}

.type-selector-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px;
    height: fit-content;
}

    .type-selector-card h2 {
        font-size: 16px;
        color: #d10000;
        margin-bottom: 12px;
    }

.type-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .type-selector label {
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 14px;
        padding: 6px 12px;
        font-size: 14px;
        cursor: pointer;
        display: table;
        position: relative;
    }
        .type-selector label .rdotitle {
            margin: auto;
            position: absolute;
            top: 0;
            bottom: 0;
        }
label .spangroup {
    margin-left: 25px;
    float: left;
    display: table-cell;
}
    .type-selector input[type="radio"] {
        accent-color: red;
        margin-right: 6px;
    }

.search-input {
    margin-bottom: 14px;
}

    .search-input input {
        width: 100%;
        padding: 8px 14px;
        border-radius: 20px;
        border: 1px solid #ccc;
        font-size: 14px;
        box-sizing: border-box;
    }

.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.carousel {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-top: 10px;
}

    .carousel img {
        height: 150px;
        border-radius: 8px;
        flex-shrink: 0;
    }

@media (max-width: 768px) {
    .main-grid {
        display: block;
    }
}

.warranty-box {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 14px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin:5px 0
}

    .warranty-box input[type="text"] {
        margin-top: 10px;
        padding: 10px 14px;
        width: 100%;
        border-radius: 20px;
        border: 1px solid #ccc;
    }

    .warranty-box button {
        margin-top: 10px;
        background: #d10000;
        color: white;
        padding: 10px 24px;
        border-radius: 20px;
        border: none;
        font-weight: bold;
        cursor: pointer;
        width: 100%;
    }

.activation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.warranty-meta {
    flex: 1;
}

.send-otp-btn {
    background: #000;
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-weight: 600;
     height: auto!important;
     line-height: unset!important;
}

.otp-action {
    margin-top: 10px;
    gap: 10px;
    position: relative;
    display: inline-block;
    width: 100%;
}
.input-otp {
    width: 100%;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
    height: 35px !important;
}
.mgbtom10{
    margin-bottom:10px
}
.otp-action input[type="text"] {
    flex: 1;
    padding: 0px 14px;
    border-radius: 20px;
    border: 1px solid #ccc;
    height: fit-content;
    font-size: inherit;
}
    .otp-action .locks {
        height: fit-content;
        margin-top: 6%;
        float:right
    }
    .otp-action button {
        background: #d10000;
        color: white;
        padding: 10px 24px;
        border-radius: 20px;
        border: none;
        font-weight: bold;
        cursor: pointer;
    }

@media (max-width: 768px) {
    .main-grid {
        display: flex;
        flex-direction: column;
    }

    .lookup-section input,
    .lookup-section button {
        width: 100%;
        max-width: 100%;
    }

    .lookup-section {
        flex-direction: column;
        align-items: stretch;
    }

    .activation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .otp-action {
        flex-direction: column;
    }

        .otp-action button {
            width: 100%;
        }
}

.carousel-container {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    cursor: grab;
    user-select: none;
}

    .carousel::-webkit-scrollbar {
        display: none;
    }

    .carousel img {
        height: 160px;
        border-radius: 10px;
        flex-shrink: 0;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        pointer-events: none;
    }

        .carousel img:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }