@import 'global.css';

body {
    background: radial-gradient(circle at top, var(--gradientBlue), var(--darkerBlue));
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}
.logo img {
    width: 22.5rem;
}

a {
    position: absolute;
    top: 4rem;
    right: 4rem;
}

.back {
    background-color: var(--wine);
    border-style: none;
    border-radius: 1rem;
    padding: 1rem 2rem;
    box-shadow: 0 0 1rem 0 var(--shadow);
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 600rem;
    text-decoration: none;
    cursor: pointer;
}

h1 {
    color: var(--lightBlue);
    font-size: 5rem;
    font-weight: 800;
}
p {
    color: var(--white);
    font-size: 1.6rem;
}
.services {
    border-bottom-left-radius: 1.6rem;
    border-bottom-right-radius: 1.6rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
}
.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;
}
.search-box input {
    flex: 1;
    padding: 1.2rem;
    border-radius: .8rem;
    border: .1rem solid #ccc;
    font-size: 1.4rem;
}
.card {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    background: var(--white);
    border-left: .6rem solid #3498db;
    padding: 2rem;
    border-radius: 1.2rem;
    box-shadow: 0 .4rem 1.2rem rgba(0,0,0,0.1);
    transition: 0.2s;
}

.card:hover {
    transform: scale(1.02);
}

.status {
    font-weight: bold;
    margin-bottom: 1rem;
}

.waiting-confirm { color: #e74c3c;}
.on-queue { color: #f1c40f; }
.in-progress { color: #3498db; }
.done { color: #2ecc71; }

.queue {
    background: #eaf6ff;
    padding: 1rem;
    border-radius: .8rem;
    margin-top: 1rem;
}

.queue span {
    display: block;
    font-size: 1.4rem;
}

.card div {
    font-size: 1.5rem;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

form {
    width: 100%;
    display: flex;
    gap: 1rem;
}

form button {
    border-style: none;
    border-radius: .8rem;
    background-color: var(--lightBlue);
    padding: 0 1rem;
    cursor: pointer;
    transition: 500ms;
}

form button:hover {
    transition: 500ms;
    transform: scale(105%);
    background-color: var(--middleBlue);
}

.hidden {
    display: none;
}

.no_service {
    color: var(--white);
    text-align: center;
}

@media screen and (max-width: 570px) {
    .logo {
        position: absolute;
        top: 0;
        left: 0; 
    }
    .logo img {
        width: 15rem;
    }

    body {
        padding-top: 25rem;
    }
    .circle {
        width: 20rem;
        height: 20rem;
        background-color: var(--white);
        border-radius: 0 0 1000rem 0;
        position: absolute;
        left: 0;
        top: 0;
        transform: translate(-50% -50%);
    }
    h1 {
        font-size: 4rem;
    }
    .container p {
        width: 35rem;        
    }
}