.social-card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.profile-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 700px; /* Adjusted width */
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px; /* Added gap */
    position: relative;
}
.card-search {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 700px; /* Adjusted width */
    padding: 20px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.search-card h2 {
    text-align: center;
}
.input {
    /* width: 100%; */
    max-width: 600px !important; /* Adjust the max width as needed */
    padding: 10px 15px;
    margin: 10px 0;
    border: 2px solid transparent;
    border-radius: 5px;
    font-size: 16px;
    /* box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); */
    box-shadow: 0 0 8px #a9d622;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input:focus {
    box-shadow: 0 0 8px #a9d622; /* Change to the desired color */
    outline: none;
}

/* Additional styles for better look */
.input::placeholder {
    color: #999;
}
.profile-picture {
    flex-shrink: 0;
}

.profile-picture img {
    /* width: 100px; */
    height: 200px;
    border-radius: 5px;
    position: relative;
    top: -2rem;
}

.fa-star {
    content: "";
    color: #a9d622;
}

.star-rating {
    margin-left: 1rem;
}

.profile-info {
    flex-grow: 1;
}

.name-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    align-items: center;
}

.star {
    color: green;
}

.rating-value {
    margin-left: 5px;
    font-weight: bold;
}

.reviews {
    margin-left: 5px;
    color: gray;
}

.price {
    color: green;
    font-weight: bold;
    position: absolute;
    top: 20px;
    right: 20px;
}

.subject {
    font-weight: bold;
    margin-bottom: 10px;
}

.description {
    margin-bottom: 10px;
    color: #a3a3c0;
}

.location {
    margin-bottom: 20px;
    color: #555;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    padding: 5px 10px;
    background-color: #eaeaea;
    outline: none;
    border: none;
}

.btn-primary {
    padding: 5px 10px;
    background-color: #0a58ca;
    border-color: #0a58ca;
    color: white;
    box-shadow: 1px 1px 1px 1px transparent;
    outline: none;
    border: none;
}
.label {
    font-size: 0.9em;
    color: #333;
}
img {
    width: 100%;
}

.btn-success {
    background-color: transparent;

    border-color: transparent;
    padding: 2px 1rem;
}
.fa-search {
    font-size: 1.5rem;
    color: #a9d622;
    padding-top: 0.75rem;
}
@media (max-width: 554px) {
    .profile-card {
        flex-direction: column;
        margin-top: 8rem;
    }
    .profile-picture {
        order: 1;
    }

    .profile-info {
        order: 2;
    }
    .profile-picture img {
        padding-top: 2rem;
        width: auto;
        height: auto; /* Maintain aspect ratio */
        border-radius: 5px;
        /* position: relative; */
        top: -2rem;
    }
}

.card-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 10px; */
    box-sizing: border-box;
}

.input {
    flex: 1;
    margin-right: 10px;
    /* padding: 5px; */
}

@media (max-width: 600px) {
    .card-search {
        flex-direction: column;
        align-items: stretch;
    }

    .input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .btn-success {
        width: 100%;
    }
}
