
/* tutor page */
.tutor-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px 0px 20px;
}

.full-profile {
    padding: 30px 30px 0px 30px;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
}

.grid {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 20px;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 0px;
    margin-right: 0px;
    width: 100%;
}

.col {
    min-width: 300px;
    width: auto;
    padding: 10px;
}

.square {
    width: 400px;
    padding: 10px;
}

.rectangle {
    max-width: 580px;
    padding: 10px;
}

.flex-rectangle {
    display: flex;
    justify-content: center;
}

.raised-flex-rectangle {
    padding: 10px;
    border: 1px solid #cce0e7;
    box-shadow: 20px 20px 38px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
}

.profile-photo {
    width: 100%;
    object-fit: contain; /* Keeps the image aspect ratio */
}

.full-profile .text-box {
    background: #ffffff;
    padding: 20px;
    border: 1px solid black;
    box-shadow: 10px 10px 70px rgba(70, 62, 221, 0.1);
    border-radius: 10px;
    margin-top: 10px;
}

#center-button-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.wide-button {
    width: 200px;
    margin: 10px;
    margin-bottom: 0px;
}

#cost-button-div {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.book-button-description {
    text-align: center;
    width: 300px;
}

#times-booked {
    min-width: 200px;
}

.booking-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

#pricing-info {
    padding: 20px;
    padding-top: 0px;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.price-tag-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 860px;
    flex-wrap: wrap;
}

.price-tag {
    max-width: 200px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    background-color: white;
}

#hours-input {
    padding-left: 10px;
    width: 120px;
    height: 70px;
    font-size: 36px;
}

.body-blue {
    background-color: var(--secondary-color);
}

#footer-section {
    background-color: var(--secondary-color) !important;
}

.average-review {
    margin-left: 10px;
    width: fit-content;
    border: var(--secondary-color) solid;
    border-radius: 10px;
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
}

.average-review label{
    font-weight: bold;
    margin-right: 5px;
}

.average-review p{
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 0px;
}

.star-icon {
    padding-top: 2px;
    padding-left: 2px;
    padding-right: 1px;
}


@media screen and (max-width: 500px) {
    .square {
        width: 100%;
    }

    .full-profile {
        padding: 10px 10px 0px 10px;
    }

    .grid {
        padding: 10px;
    }

    #pricing-info {
        padding: 0px 0px 30px 0px;
    }

    .rectangle {
        max-width: 100%;
    }
}

#discount-section {
    width: 100%;
    margin-bottom: 20px;
}


/* Style for the "Claim Discount" button */
#claim-discount-button {
    width: 300px;
    height: 81px;
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    padding: 12px 24px; /* Padding */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    font-size: 18px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition */
}

/* Hover effect for the button */
#claim-discount-button:hover {
    background-color: #45a049; /* Darker green on hover */
}
