/* Avatar wrapper for perfect circle crop */
.avatar-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem auto;
    box-shadow: 0 2px 8px #ccc;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    color: #222;
    min-height: 100vh;
}

/* Center the card vertically and horizontally */
.center-viewport {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px #e0e0e0;
    padding: 2rem 1.5rem;
    max-width: 1100px;
    margin: 2rem auto;
}

/* Worker Profile Page Styles */
.worker-profile {
    max-width: 420px;
    margin: 3rem auto 2rem auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px 0 rgba(44,62,80,0.10), 0 1.5px 6px 0 rgba(44,62,80,0.08);
    padding: 2.5rem 2rem 2.5rem 2rem;
    text-align: center;
    transition: box-shadow 0.2s;
    position: relative;
}
.worker-profile:hover {
    box-shadow: 0 12px 40px 0 rgba(44,62,80,0.16), 0 3px 12px 0 rgba(44,62,80,0.10);
}
.worker-profile img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 1rem auto;
    box-shadow: 0 2px 8px #ccc;
    border: 4px solid #f7f7f7;
    background: #f7f7f7;
}
.worker-profile h1 {
    margin: 0.5rem 0 0.2rem 0;
    color: #1766a0;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.worker-profile p {
    margin: 0.5rem 0;
    font-size: 1.13rem;
    color: #444;
}
.worker-profile .price {
    font-size: 1.3rem;
    color: #2d5c8a;
    font-weight: bold;
    margin: 0.7rem 0 1.2rem 0;
}
.worker-profile button, .worker-profile .razorpay-btn {
    background: linear-gradient(90deg, #3399cc 60%, #1766a0 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 2.2rem;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.3rem;
    box-shadow: 0 2px 8px #c0e0f7;
    transition: background 0.2s, box-shadow 0.2s;
}
.worker-profile button:hover, .worker-profile .razorpay-btn:hover {
    background: linear-gradient(90deg, #1766a0 60%, #3399cc 100%);
    box-shadow: 0 4px 16px #b0d8f7;
}
.worker-profile img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px #ccc;
}
.worker-profile h1 {
    margin: 0.5rem 0 0.2rem 0;
    color: #005a87;
}
.worker-profile p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}
.worker-profile .price {
    font-size: 1.2rem;
    color: #2d5c8a;
    font-weight: bold;
    margin: 0.5rem 0 1rem 0;
}
.worker-profile button, .worker-profile .razorpay-btn {
    background: #3399cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.2s;
}
.worker-profile button:hover, .worker-profile .razorpay-btn:hover {
    background: #005a87;
}
header {
    background: #005a87;
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
}
main {
    max-width: 700px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}
footer a {
    color: #ffd700;
    text-decoration: none;
    margin: 0 0.5rem;
}
footer a:hover {
    text-decoration: underline;
}
@media (max-width: 800px) {
    main {
        margin: 1rem;
        padding: 1rem;
    }
    footer {
        font-size: 0.9rem;
    }
}
