*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
body{
    background: #241d1d;
    color: rgb(255, 255, 255);
    line-height: 1.6;
    animation: fadeIn 1.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.Caruds{
    width: 80%;
    margin: auto;
    
}
.head{
    text-align: center;
    padding: 20px ;
    text-transform: uppercase;
    font-size: 24px;
    background: linear-gradient(135deg, #ff0080, #7928ca);
    background-clip: text;            
    -webkit-background-clip: text;   
    -webkit-text-fill-color: transparent; 
}
input {
    width: 98%;
    height: 35px;
    outline: none;
    border: none;
    border-radius: 8px;
    padding: 0 10px;
    margin: 5px 0;
    background-color: rgb(18, 18, 18);
    color: white;
    transition: 0.3s ease-in-out;
}
input:focus {
    background-color: #000;
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(156, 17, 107, 0.8);
}
.price input {
    width: 20%;
}
#total {
    background-color: rgb(150, 0, 0);
    padding: 7px 3px;
    border-radius: 5px;
    display: inline-block;
    margin: 5px 0;
    font-weight: 500;
}
#total::before{
    content: "Total: ";
}
button {
    width: 100%;
    height: 35px;
    border: none;
    border-radius: 12px;
    margin: 5px 0;
    background: linear-gradient(135deg, rgb(156, 17, 107), rgb(89, 10, 61));
    color: white;
    cursor: pointer;
    transition: 0.4s ease-in-out;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    font-size: 15px;
    font-weight: 500;
}

button:hover {
    background: linear-gradient(135deg, rgb(200, 20, 140), rgb(120, 20, 80));
    letter-spacing: 1px;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}
.searchbtn{
    display: flex;    
    justify-content: space-between;
}

.searchbtn button{
    width: 40%;
    margin-left: 15px;
}
#deletAll{
    margin: 10px 0;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s ease-in-out;   
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

table, th {
    text-transform: uppercase;
}

th, td {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(243, 0, 0, 0.1);
}

th {
    background: rgba(156, 17, 107, 0.9);
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

tr:nth-child(even) {
    background: rgba(255,255,255,0.05);
}

tr:hover {
    background: rgba(156, 17, 107, 0.3);
    transition: 0.3s;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1717;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #9c116b, #5a0c3d);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c8148c, #781450);
}
@media (max-width: 768px) {
    .Caruds {
        width: 95%;
    }
    .searchbtn {
        flex-direction: column;
    }
    .searchbtn button {
        width: 100%;
        margin: 5px 0;
    }
    .price input {
        width: 40%;
    }
}
#scrollTopBtn {
    position: fixed;
    bottom: 20px; 
    right: 20px;  
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #9c116b, #5a0c3d);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: none;  
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: 0.3s;
    z-index: 999;
}

#scrollTopBtn:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #c8148c, #781450);
}
