* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: linear-gradient(45deg, rgb(253, 138, 157), rgb(110, 209, 248));
    color: white;
}

.con {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-report-card {
    width: 32%;
    height: 80%;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 25px;
    box-shadow: 0 20px 50px 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.car-content {
    height: 100%;
    width: 98%;
    display: flex;
    flex-direction: column;
}

.title {
    margin-top: 50px;
    font-family: 'montserrat', sans-serif;
    text-align: center;
    font-size: 40px;
}

.d {
    margin-top: 20px;
    font-size: 120px;
    background: linear-gradient(pink, skyblue); background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.question {
    margin-top: 60px;
    font-family: 'montserrat', sans-serif;
    text-align: center;
    font-size: 30px;
}

.input-section {
    margin-top: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

.input-section input {
    padding: 15px 50px 15px 25px;
    width: 75%;
    border-radius: 25px;
    border: none;
    font-size: 16px;
    transition: all 0.1s;
}

.input-section button {
    position: absolute;
    right: 60px;
    padding: 15px 30px;
    border-radius: 0 25px 25px 0;
    font-size: 16px;
    border: none;
    background: linear-gradient(-45deg, rgb(253, 138, 157), rgb(110, 209, 248));
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.1s;
}

.invalid-messagea {
    width: 80%;
    margin-top: 2px;
}

.invalid-message {
    text-align: right;
    font-family: 'montserrat', sans-serif;
    font-size: 14px;
    color: #FF0000;
}

.content-preloader {
    height: 30%;
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-family: 'montserrat', sans-serif;
}

.preloader {
    height: 30px;
    width: 120px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.pre-dots {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgb(253, 138, 157), rgb(110, 209, 248));
    border-radius: 50%;
}

.pre-dots:nth-child(1) {
    animation: preloader 1s infinite ease-in-out;
}

.pre-dots:nth-child(2) {
    animation: preloader 1s infinite ease-in-out;
    animation-delay: 0.8s;
}

.pre-dots:nth-child(3) {
    animation: preloader 1s infinite ease-in-out;
    animation-delay: 1.6s;
}

@keyframes preloader {
    0% {
        transform: translateY(50%);
    }
    50% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(50%);
    }
}

.result-con {
width: 100%;
height: 100%;
border-radius: 15px;
text-align: center;
font-family: 'montserrat', sans-serif;
}

.result-tile {
font-size: 40px;
font-weight: bold;
color: #333;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 20px;
background: linear-gradient(-45deg, rgb(253, 138, 157), rgb(110, 209, 248));
background-clip: text;
-webkit-text-fill-color: transparent;
}

.result-header {
display: flex;
justify-content: space-between;
padding: 10px 20px;
width: 90%;
margin-left: auto;
margin-right: auto;
background: linear-gradient(135deg, rgb(253, 138, 157), rgb(110, 209, 248));
color: white;
border-radius: 10px;
margin-bottom: 20px;
font-size: 18px;
}

table {
width: 90%;
border-collapse: collapse;
margin-left: auto;
margin-right: auto;
margin-bottom: 20px;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

th, td {
padding: 12px;
border: 1px solid #dee2e6;
text-align: center;
}

th {
background: linear-gradient(-45deg, rgb(253, 138, 157), rgb(110, 209, 248));
color: white;
font-size: 17px;
text-transform: uppercase;
}

td {
font-size: 16px;
color: #fff;
}

tr {
background: rgba(0, 0, 0, 0.1);
}

tr:hover {
background: rgba(0, 0, 0, 0.15);
}

.done-btn {
    background: linear-gradient(45deg, rgb(253, 138, 157), rgb(110, 209, 248));
    color: white;
    padding: 15px 50px;
    margin-top: 5px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: all 2s ease-in-out;
}

.done-btn:hover {
background: linear-gradient(45deg, rgb(253, 138, 157), rgb(110, 209, 248));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.error-page {
text-align: center;
width: 100%;
height: 50%;
margin-top: 200px;
font-family: 'montserrat', sans-serif;
border-radius: 25px;
}

.error-page h1 {
background: linear-gradient(45deg, rgb(253, 138, 157), rgb(110, 209, 248));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 40px;
margin-bottom: 10px;
}

.error-page p {
font-size: 16px;
color: #fff;
margin-bottom: 20px;
}

.home-btn {
display: inline-block;
background: linear-gradient(45deg, rgb(253, 138, 157), rgb(110, 209, 248));
color: white;
text-decoration: none;
padding: 15px 30px;
font-size: 15px;
border-radius: 10px;
font-weight: 600;
transition: background 0.3s ease-in-out;
border: none;
}

.home-btn:hover {
background: linear-gradient(45deg, rgb(253, 138, 157), rgb(110, 209, 248));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
box-shadow: 0 4px 10px 10px rgba(0, 0, 0, 0.1);
}