/* ==================== Global Styles ==================== */
:root {
    --primary-color: #2ecc71;
    --secondary-color: #3498db;
    --danger-color: #27ae60;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-color: #95a5a6;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== Navigation ==================== */
.navbar {
    background: linear-gradient(135deg, #556B7D 0%, #708090 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4px 20px;
    max-width: 1400px;
    gap: 2px;
}

.navbar-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    gap: 18px;
    order: 1;
    padding: 0;
    border-bottom: 1px solid rgba(46, 204, 113, 0.1);
    padding-bottom: 6px;
}

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    order: 2;
    position: relative;
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.brand-logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo-text i {
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-brand:hover .brand-logo-text i {
    transform: scale(1.1) rotate(5deg);
}

.nav-brand::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(46, 204, 113, 0.05);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.4s ease;
}

.nav-brand:hover::before {
    background: rgba(46, 204, 113, 0.15);
    width: 80px;
    height: 80px;
}

.nav-brand:hover {
    transform: scale(1.08);
}

.nav-brand img {
    height: 120px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease;
}

.nav-brand:hover img {
    filter: drop-shadow(0 4px 12px rgba(46, 204, 113, 0.3));
}

.nav-brand i {
    font-size: 40px;
    animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.nav-menu {
    flex: 1;
    margin: 0;
    order: 3;
    padding-top: 0;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 50px;
    justify-content: center;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 10px 0;
    letter-spacing: 0.3px;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    gap: 8px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 7px 10px;
    border-radius: 28px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lang-switcher:hover {
    border-color: var(--primary-color);
    box-shadow: inset 0 2px 4px rgba(46, 204, 113, 0.1), 0 4px 12px rgba(46, 204, 113, 0.2);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 7px 16px;
    border-radius: 22px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--dark-color);
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #27ae60);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(46, 204, 113, 0.4);
    transform: scale(1.05);
}

.lang-btn:hover:not(.active) {
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-color);
}

.login-btn {
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: var(--white);
    padding: 10px 26px;
    border-radius: 26px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.35);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(52, 152, 219, 0.5);
}

.login-btn:active {
    transform: translateY(-2px);
}

/* ==================== Hero Section ==================== */
.hero {
    background: #ffffff;
    color: var(--dark-color);
    padding: 20px 20px 40px 20px;
    text-align: center;
    border-bottom: 8px solid #ffd700;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(255, 215, 0, 0.15);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.logo-container {
    font-size: 80px;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
    color: #ffd700;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.4);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--dark-color);
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 1;
    color: #666666;
    text-shadow: none;
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    gap: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-yellow {
    background: linear-gradient(135deg, #f39c12, #e8860e);
    color: var(--white);
}

.btn-yellow:hover {
    background: linear-gradient(135deg, #e8860e, #d68007);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.btn-large {
    padding: 0;
    width: 150px;
    height: 150px;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-direction: column;
}

.btn-large i {
    font-size: 88px;
    margin-bottom: 5px;
}

.btn-large span {
    text-align: center;
    line-height: 1.2;
}

.btn-block {
    width: 100%;
}

/* ==================== Button Groups ==================== */
.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.main-buttons {
    margin: 20px 0 40px 0;
    gap: 20px;
    flex-wrap: wrap;
    perspective: 1000px;
}

.main-buttons .btn {
    position: relative;
}

/* ==================== Individual Button Sizes ==================== */
/* Sell Animal - 500x500 */
.main-buttons .btn:nth-child(1) {
    width: 450px;
    height: 450px;
}

.main-buttons .btn:nth-child(1) i {
    font-size: 120px;
}

.main-buttons .btn:nth-child(1) span {
    font-size: 55px;
}

/* Buy Animal - 600x600 */
.main-buttons .btn:nth-child(2) {
    width: 450px;
    height: 450px;
}

.main-buttons .btn:nth-child(2) i {
    font-size: 120px;
}

.main-buttons .btn:nth-child(2) span {
    font-size: 48px;
}

/* Ahar (Feed) - 200x200 */
.button-group:nth-of-type(2) .btn:nth-child(1) {
    width: 200px;
    height: 200px;
}

.button-group:nth-of-type(2) .btn:nth-child(1) i {
    font-size: 60px;
}

.button-group:nth-of-type(2) .btn:nth-child(1) span {
    font-size: 18px;
}

/* Upchar (Treatment) - 200x200 */
.button-group:nth-of-type(2) .btn:nth-child(2) {
    width: 200px;
    height: 200px;
}

.button-group:nth-of-type(2) .btn:nth-child(2) i {
    font-size: 60px;
}

.button-group:nth-of-type(2) .btn:nth-child(2) span {
    font-size: 18px;
}

/* Other - 200x200 */
.button-group:nth-of-type(2) .btn:nth-child(3) {
    width: 200px;
    height: 200px;
}

.button-group:nth-of-type(2) .btn:nth-child(3) i {
    font-size: 60px;
}

.button-group:nth-of-type(2) .btn:nth-child(3) span {
    font-size: 18px;
}

/* Animal Loan - 150x150 */
.facilities .btn:nth-child(1) {
    width: 150px;
    height: 150px;
}

.facilities .btn:nth-child(1) i {
    font-size: 40px;
}

.facilities .btn:nth-child(1) span {
    font-size: 14px;
}

/* Animal Insurance - 150x150 */
.facilities .btn:nth-child(2) {
    width: 150px;
    height: 150px;
}

.facilities .btn:nth-child(2) i {
    font-size: 40px;
}

.facilities .btn:nth-child(2) span {
    font-size: 14px;
}

.facilities {
    margin-top: 40px;
    gap: 20px;
}

.btn-facility {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), #27ae60);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-facility:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.5);
}

.btn-facility i {
    font-size: 32px;
    margin-bottom: 5px;
}

.btn-facility span {
    text-align: center;
    font-size: 12px;
}

.main-buttons .btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.main-buttons .btn:hover::before {
    opacity: 0.3;
}

/* ==================== Services Buttons ==================== */
.button-group {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 60px;
}

/* ==================== Featured Animals ==================== */
.featured-animals {
    padding: 60px 20px;
    background: var(--white);
}

.featured-animals h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.animal-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

.animal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.animal-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    overflow: hidden;
    position: relative;
}

.animal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.animal-emoji-placeholder {
    font-size: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f4f8, #e5e9ed);
}

.animal-info {
    padding: 20px;
}

.animal-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.animal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.animal-detail {
    color: var(--gray-color);
}

.animal-detail strong {
    color: var(--dark-color);
}

.animal-price {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.animal-contact {
    display: flex;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--gray-color);
}

.animal-card .btn {
    width: 100%;
    justify-content: center;
}

/* ==================== Reviews Section ==================== */
.reviews-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.reviews-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 5px solid var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-customer {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 16px;
}

.review-rating {
    color: #f39c12;
    font-size: 18px;
}

.review-text {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 10px;
}

.review-date {
    font-size: 12px;
    color: #bdc3c7;
}

/* ==================== Services Section ==================== */
.services-section {
    padding: 60px 20px;
    background: var(--white);
}

.services-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-box {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-box:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.service-box i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-box:hover i {
    color: var(--white);
}

.service-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-box p {
    color: var(--gray-color);
    font-size: 14px;
    line-height: 1.6;
}

.service-box:hover p {
    color: var(--white);
}

/* ==================== CTA Section ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ==================== Footer ==================== */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 18px;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* ==================== Authentication Pages ==================== */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.auth-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--gray-color);
    font-size: 14px;
}

.auth-header h2 {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.animal-icons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.animal-icon-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.animal-icon-card:hover {
    transform: scale(1.05);
}

.animal-icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 8px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animal-icon-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    padding: 2px;
}

.map-container {
    width: 100%;
    height: 500px;
}

.location-details {
    margin-top: 15px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
}

.selected-location-text {
    color: var(--primary-color);
    font-weight: 500;
}

/* ==================== Social Login ==================== */
.social-login {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    background: var(--white);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 14px;
}

.social-btn:hover {
    border-color: var(--primary-color);
    background: #f8f9fa;
}

.social-btn i {
    font-size: 18px;
}

.google-btn i {
    color: var(--primary-color);
}

.facebook-btn i {
    color: #3b5998;
}

.whatsapp-btn i {
    color: #25d366;
}

/* ==================== Divider ==================== */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--gray-color);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    padding: 0 10px;
    font-size: 12px;
}

/* ==================== Form Styles ==================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 14px;
}

/* ==================== Profile Image Upload ==================== */
.profile-image-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border: 2px solid #e0e0e0;
    transition: var(--transition);
}

.profile-image-upload:hover {
    border-color: var(--primary-color);
    background: rgba(46, 204, 113, 0.05);
}

.profile-image-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    overflow: hidden;
}

.profile-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-small {
    padding: 8px 24px;
    font-size: 13px;
}

/* .form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
} */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox input {
    width: auto;
    margin: 0;
}

.required {
    color: var(--danger-color);
}

/* ==================== Phone Input ==================== */
.phone-input {
    display: flex;
    align-items: center;
}

.country-code {
    padding: 12px 12px;
    background: var(--light-color);
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-weight: 600;
    color: var(--dark-color);
}

.phone-input input {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    border-left: none;
}

/* ==================== Auth Footer ==================== */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--primary-color);
    font-size: 15px;
}

.auth-footer p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.auth-footer span {
    color: var(--dark-color);
    font-weight: 500;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(46, 204, 113, 0.1);
}

.auth-footer a:hover {
    background: rgba(46, 204, 113, 0.2);
    color: #27ae60;
    transform: translateX(3px);
}

/* ==================== Page Header ==================== */
.page-header {
    background: #ffffff;
    color: #333;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.95;
}

.header-animation {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: block;
}

/* ==================== Quick Search Section ==================== */
.quick-search-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #27ae60 100%);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
    text-align: center;
}

/* Location Header in Quick Search */
.quick-search-location-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 8px 0 15px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.location-display-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.location-display-inline i {
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.location-display-inline .location-text {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.refresh-location-btn-inline {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    padding: 6px 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.refresh-location-btn-inline:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(180deg);
}

.view-map-btn-inline {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    padding: 6px 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.view-map-btn-inline:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
}

.nearby-toggle-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nearby-toggle-inline .toggle-label {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

/* Pincode Input Styles - Buy Page */
.pincode-input-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.pincode-input-inline .pincode-field {
    width: 110px;
    padding: 8px 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.pincode-input-inline .pincode-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.pincode-input-inline .pincode-field:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.25);
}

.pincode-search-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.pincode-search-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

/* Seller Location Input Group */
.location-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.location-input-group .pincode-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.location-input-group .pincode-input {
    flex: 1;
    max-width: 150px;
}

.location-input-group .location-result {
    background-color: #fff;
    border: 1px solid #ddd;
}

.detect-location-btn {
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #27ae60 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.detect-location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.detect-location-btn i {
    font-size: 16px;
}

/* Toggle Switch Styles - in header */
.quick-search-location-header .switch {
    width: 48px;
    height: 24px;
}

.quick-search-location-header .slider:before {
    height: 18px;
    width: 18px;
}

.quick-search-location-header input:checked + .slider:before {
    transform: translateX(22px);
}

/* Tablet - 768px to 1024px */
@media (max-width: 1024px) {
    .quick-search-section {
        padding: 25px 30px;
    }
    
    .location-display-inline .location-text {
        font-size: 14px;
    }
}

/* Mobile - up to 768px */
@media (max-width: 768px) {
    .quick-search-section {
        padding: 20px;
        margin-bottom: 25px;
        border-radius: 12px;
    }
    
    .quick-search-location-header {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 5px 0 12px 0;
    }
    
    .location-display-inline {
        flex: 1 1 auto;
        min-width: 150px;
    }
    
    .location-display-inline .location-text {
        font-size: 13px;
        max-width: 180px;
    }
    
    .nearby-toggle-inline .toggle-label {
        font-size: 12px;
    }
    
    .pincode-input-inline .pincode-field {
        width: 100px;
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .pincode-search-btn {
        width: 32px;
        height: 32px;
    }
    
    .location-input-group .pincode-row {
        flex-wrap: wrap;
    }
    
    .detect-location-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .detect-location-btn span {
        display: none;
    }
}

/* Small Mobile - up to 480px */
@media (max-width: 480px) {
    .quick-search-section {
        padding: 15px;
        margin: 0 -15px 20px -15px;
        border-radius: 0;
    }
    
    .quick-search-location-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .location-display-inline {
        width: 100%;
        justify-content: flex-start;
    }
    
    .location-display-inline i {
        font-size: 16px;
    }
    
    .location-display-inline .location-text {
        font-size: 13px;
        max-width: calc(100% - 70px);
    }
    
    .pincode-input-inline {
        width: 100%;
        justify-content: flex-start;
    }
    
    .pincode-input-inline .pincode-field {
        flex: 1;
        width: auto;
        max-width: 140px;
    }
    
    .nearby-toggle-inline {
        width: 100%;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .nearby-toggle-inline .toggle-label {
        font-size: 13px;
    }
    
    .location-input-group .pincode-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .location-input-group .pincode-input {
        max-width: 100%;
    }
    
    .detect-location-btn {
        width: 100%;
        justify-content: center;
    }
    
    .detect-location-btn span {
        display: inline;
    }
}

.quick-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.quick-search-header .location-btn {
    margin-left: auto;
}

.quick-search-section h2 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
}

.quick-search-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.quick-search-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: var(--white);
    border: 3px solid var(--white);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-color);
}

.quick-search-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: var(--white);
}

.quick-search-btn i {
    font-size: 40px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.quick-search-btn img.search-animal-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 8px;
    object-fit: contain;
    display: block;
}

.quick-search-btn span {
    text-align: center;
    font-size: 14px;
}

.quick-search-input {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.quick-search-input input {
    width: 100%;
    padding: 15px 20px;
    padding-right: 50px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quick-search-input input::placeholder {
    color: #999;
}

.voice-search-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.voice-search-btn:hover {
    background: rgba(46, 204, 113, 0.1);
    transform: scale(1.1);
}

.voice-search-btn.listening {
    background: #ff6b6b;
    color: white;
    animation: pulse 1.5s infinite;
}

@media (max-width: 768px) {
    .quick-search-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .quick-search-header .location-btn {
        align-self: flex-end;
    }
    
    .quick-search-section h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .quick-search-btn {
        width: 100px;
        height: 100px;
    }
    
    .quick-search-btn i {
        font-size: 32px;
    }
    
    .quick-search-btn img.search-animal-icon {
        width: 45px;
        height: 45px;
    }
    
    .quick-search-btn span {
        font-size: 12px;
    }
    
    .quick-search-buttons {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .quick-search-section h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .quick-search-btn {
        width: 80px;
        height: 80px;
        border-radius: 10px;
    }
    
    .quick-search-btn i {
        font-size: 26px;
        margin-bottom: 5px;
    }
    
    .quick-search-btn img.search-animal-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 5px;
    }
    
    .quick-search-btn span {
        font-size: 10px;
    }
    
    .quick-search-buttons {
        gap: 8px;
        justify-content: space-around;
    }
    
    .quick-search-input {
        max-width: 100%;
    }
    
    .quick-search-input input {
        padding: 12px 15px;
        padding-right: 45px;
        font-size: 14px;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ==================== Animal Category Buttons ==================== */
.animal-category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: var(--white);
    border: 2px solid rgba(46, 204, 113, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 13px;
    color: var(--dark-color);
    padding: 8px;
}

.category-icon {
    font-size: 40px;
    margin-bottom: 6px;
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
}

.animal-category-btn:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.3);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05), rgba(46, 204, 113, 0.1));
}

.animal-category-btn span {
    text-align: center;
    font-size: 11px;
    line-height: 1.2;
}

/* ==================== Location Bar ==================== */
.location-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    box-shadow: var(--box-shadow);
    gap: 20px;
}

.nearby-toggle {
    display: flex;
    gap: 10px;
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(46, 204, 113, 0.1);
    border: 2px solid rgba(46, 204, 113, 0.3);
    border-radius: 8px;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.location-btn:hover {
    background: rgba(46, 204, 113, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.location-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.location-btn i {
    font-size: 16px;
}

.user-location {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(46, 204, 113, 0.05);
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid rgba(46, 204, 113, 0.2);
    font-weight: 500;
    color: var(--dark-color);
}

.user-location i {
    color: var(--primary-color);
    font-size: 16px;
}

.location-text {
    font-size: 14px;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.refresh-location-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.refresh-location-btn:hover {
    background: rgba(46, 204, 113, 0.2);
    transform: rotate(180deg);
}

/* ==================== Simple Location Bar (New Design) ==================== */
.location-bar-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.location-display {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.location-display i {
    color: #e74c3c;
    font-size: 18px;
}

.location-display .location-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    max-width: 400px;
}

.location-display .refresh-location-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 12px;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.location-display .refresh-location-btn:hover {
    color: var(--primary-color);
    background: rgba(46, 204, 113, 0.1);
    transform: rotate(180deg);
}

.nearby-toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

/* Toggle Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.4);
    transition: 0.3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .slider {
    background-color: #fff;
}

input:checked + .slider:before {
    transform: translateX(24px);
    background-color: var(--primary-color);
}

.slider.round {
    border-radius: 26px;
}

.slider.round:before {
    border-radius: 50%;
}

@media (max-width: 600px) {
    .location-bar-simple {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .location-display .location-text {
        max-width: 200px;
    }
    
    .nearby-toggle-switch {
        width: 100%;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }
}

/* ==================== Filters Section ==================== */
.filters-section {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-color);
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 14px;
}

.price-range {
    display: flex;
    gap: 10px;
}

.price-range input {
    flex: 1;
}

/* ==================== Animal Listing Page ==================== */
/* Distance Filter Section */
.distance-filter-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.distance-filter-section h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.distance-filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.distance-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-color);
    transition: var(--transition);
    white-space: nowrap;
}

.distance-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.distance-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Seller Filter Section */
.seller-filter-section {
    margin: 20px 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seller-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.seller-filter-section h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.seller-filter-section h3 i {
    color: var(--primary-color);
}

#selectedSeller {
    color: var(--primary-color);
    font-weight: 700;
}

.clear-filter-btn {
    padding: 8px 16px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    white-space: nowrap;
}

.clear-filter-btn:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Seller Name Clickable Style */
.seller-name-clickable {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.animal-contact:hover .seller-name-clickable {
    text-decoration: underline;
    color: #27ae60;
}

.animals-listing {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.results-info {
    margin-bottom: 20px;
    color: var(--gray-color);
    font-size: 14px;
}

/* ==================== Services Tabs ==================== */
.service-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
}

.tab-btn {
    padding: 15px 25px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-color);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    position: relative;
    bottom: -2px;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* ==================== Service Content ==================== */
.service-content {
    display: none;
}

.service-content.active {
    display: block;
}

.service-content h2 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.service-content > p {
    color: var(--gray-color);
    margin-bottom: 30px;
    font-size: 16px;
}

/* ==================== Service Items Grid ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.service-item p {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ==================== Sell Info ==================== */
.sell-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-8px);
}

.info-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.info-card p {
    color: var(--gray-color);
    font-size: 14px;
    line-height: 1.6;
}

/* ==================== Sell Steps ==================== */
.sell-steps {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 60px;
}

.sell-steps h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.step p {
    color: var(--gray-color);
    font-size: 14px;
}

/* ==================== FAQ Section ==================== */
.faq-section {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.faq-items {
    display: grid;
    gap: 20px;
}

.faq-item {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.1);
}

.faq-item h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 16px;
}

.faq-item p {
    color: var(--gray-color);
    font-size: 14px;
    line-height: 1.6;
}

/* ==================== Add Animal Form ==================== */
.add-animal-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-section {
    margin-bottom: 40px;
}

.form-section h2 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

/* ==================== Image Upload ==================== */
.image-upload-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.image-upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(46, 204, 113, 0.05);
}

.image-upload-area i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.image-upload-area span,
.image-upload-area p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.image-upload-area input,
.hidden-input {
    display: none;
}

.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.preview-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--danger-color);
    color: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.preview-remove:hover {
    background: #c0392b;
}

/* ==================== Image Upload Options ==================== */
.image-upload-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.camera-upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.camera-upload-area:hover {
    border-color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.05);
}

.camera-upload-area i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.camera-upload-area span,
.camera-upload-area p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Camera Badge for captured images */
.camera-badge {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: var(--secondary-color);
    color: var(--white);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Image Count Display */
.image-count {
    color: var(--gray-color);
    font-size: 14px;
    margin-top: 10px;
    text-align: right;
}

/* ==================== Camera Modal ==================== */
.camera-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
}

.camera-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-container {
    background-color: var(--dark-color);
    border-radius: var(--border-radius);
    max-width: 800px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.camera-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #556B7D 0%, #708090 100%);
    color: var(--white);
}

.camera-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-camera-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-camera-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

#cameraVideo {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
    display: block;
    background: #000;
}

.camera-controls {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: var(--dark-color);
}

.capture-btn {
    padding: 15px 40px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.capture-btn i {
    font-size: 20px;
}

#switchCameraBtn {
    padding: 15px 20px;
}

#switchCameraBtn i {
    font-size: 18px;
}

/* Hidden canvas for camera capture */
.hidden-canvas,
.camera-canvas-hidden {
    display: none;
}

/* Responsive styles for image upload and camera */
@media (max-width: 768px) {
    .image-upload-options,
    .image-upload-wrapper {
        grid-template-columns: 1fr;
    }
    
    .image-upload-area,
    .camera-upload-area {
        padding: 30px;
    }
    
    .image-upload-area i,
    .camera-upload-area i {
        font-size: 36px;
    }
    
    .camera-modal {
        padding: 10px;
    }
    
    .camera-container {
        border-radius: 8px;
    }
    
    #cameraVideo {
        max-height: 50vh;
    }
    
    .camera-controls {
        padding: 15px;
        gap: 15px;
    }
    
    .capture-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* ==================== Modal ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--gray-color);
    cursor: pointer;
    background: none;
    border: none;
}

.close:hover {
    color: var(--dark-color);
}

/* ==================== Radio Buttons ==================== */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 400;
}

.radio-group input[type="radio"] {
    width: auto;
    margin: 0;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
    .nav-menu {
        margin: 0 20px;
    }

    .nav-menu ul {
        gap: 25px;
    }

    .login-btn {
        padding: 9px 22px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .navbar {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    }

    .navbar .container {
        padding: 12px 15px;
        gap: 12px;
    }

    .navbar-top {
        gap: 12px;
        padding: 0 0 10px 0;
        border-bottom: 1px solid rgba(46, 204, 113, 0.1);
    }

    .nav-brand {
        font-size: 20px;
        gap: 8px;
    }

    .nav-brand::before {
        width: 65px;
        height: 65px;
    }

    .nav-brand:hover::before {
        width: 75px;
        height: 75px;
    }

    .nav-brand img {
        height: 90px;
    }

    .nav-brand i {
        font-size: 28px;
    }

    .nav-menu {
        margin: 0;
        display: none;
        width: 100%;
        order: 4;
        padding-top: 8px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .nav-menu a {
        font-size: 14px;
        padding: 10px;
    }

    .lang-switcher {
        gap: 6px;
        padding: 6px 8px;
    }

    .lang-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .lang-btn.active {
        box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
    }

    .login-btn {
        padding: 9px 18px;
        font-size: 12px;
        border-radius: 24px;
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }

    .login-btn:hover {
        box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
    }

    .lang-switcher {
        padding: 5px;
        gap: 4px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .login-btn {
        padding: 8px 18px;
        font-size: 12px;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .logo-container {
        font-size: 60px;
    }

    .button-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .main-buttons {
        gap: 12px;
    }

    .btn {
        width: auto;
        flex: 0 1 calc(50% - 8px);
        min-width: 130px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-large {
        min-width: 120px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .services-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-card {
        padding: 24px 16px;
    }

    .service-card i {
        font-size: 42px;
        margin-bottom: 12px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .service-card p {
        font-size: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .filters-section {
        grid-template-columns: 1fr;
    }

    .animals-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .service-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .tab-btn.active {
        border-left-color: var(--primary-color);
    }

    .page-header {
        padding: 40px 20px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .add-animal-form,
    .sell-steps,
    .faq-section {
        padding: 20px;
    }

    .form-section h2 {
        font-size: 18px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 18px;
    }

    .nav-brand i {
        font-size: 24px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .logo-container {
        font-size: 48px;
    }

    .button-group {
        flex-direction: column;
        gap: 10px;
    }

    .main-buttons {
        gap: 10px;
        margin: 30px 0 40px 0;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
    }

    .btn-large {
        width: 100%;
        min-width: 0;
    }

    .services-buttons {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        padding: 20px 12px;
    }

    .service-card i {
        font-size: 38px;
        margin-bottom: 10px;
    }

    .service-card h3 {
        font-size: 15px;
    }

    .service-card p {
        font-size: 11px;
    }

    .animals-grid,
    .reviews-grid,
    .services-grid,
    .animals-listing {
        grid-template-columns: 1fr;
    }

    .distance-filter-buttons {
        flex-wrap: wrap;
    }

    .distance-btn {
        flex: 1;
        min-width: 80px;
    }

    .container {
        padding: 0 15px;
    }

    .auth-box {
        padding: 25px;
    }

    .add-animal-form {
        padding: 15px;
    }

    .seller-form-section {
        padding: 20px 0;
    }

    .form-fieldset {
        padding: 15px;
    }
}

/* ==================== Seller Form Styles ==================== */
.page-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 25%, #ffed4e 50%, #ffd700 75%, #f0f8ff 100%);
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    border-left: 8px solid #ffd700;
    border-right: 8px solid #ffed4e;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.15), inset 0 0 40px rgba(255, 215, 0, 0.1);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.page-header .header-icon {
    font-size: 48px;
    color: #333;
    margin-bottom: 15px;
    display: block;
    filter: none;
    text-shadow: none;
}

.page-header h1 {
    font-size: 32px;
    background: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-weight: 700;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.25));
}

.page-header p {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 0;
    text-shadow: 0 1px 4px rgba(255, 215, 0, 0.15);
}

.seller-form-section {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}
.form-group {
    margin-bottom: 12px;
}

.form-input {
    height: 42px;
}

small {
    font-size: 12px;
    color: #6c757d;
}
.seller-form {
    display: flex;
    flex-direction: column;
    /* gap: 28px; */
}

/* Animal Type Selection with Images */
.animal-type-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.animal-choice {
    position: relative;
}

.animal-radio {
    display: none;
}

.animal-image-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 15px;
    border-radius: 12px;
    border: 3px solid #e0e0e0;
    transition: var(--transition);
    background: #f8f9fa;
}

.animal-radio:checked + .animal-image-label {
    border-color: var(--primary-color);
    background: rgba(46, 204, 113, 0.1);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.animal-image-label:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.animal-image-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), rgba(46, 204, 113, 0.8));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.25);
    transition: var(--transition);
}

.animal-image-box.animal-emoji {
    font-size: 42px;
    background: linear-gradient(135deg, #3498db, rgba(52, 152, 219, 0.8));
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
}

.animal-image-box svg {
    width: 100%;
    height: 100%;
    padding: 12px;
}

.animal-image-label span {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 14px;
}

/* Other Toggle Button */
.other-toggle .animal-image-label {
    cursor: pointer;
}

.other-toggle .animal-image-label span i {
    margin-left: 5px;
    font-size: 12px;
    transition: var(--transition);
}

/* Other Animals Section */
.other-animals-section {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #e0e0e0;
    animation: fadeIn 0.3s ease;
}

.other-animals-section.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.other-animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.other-animals-grid .animal-image-box {
    width: 60px;
    height: 60px;
    font-size: 28px;
}

.other-animals-grid .animal-image-label {
    padding: 12px;
}

/* Category Options */
.category-options,
.bargain-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 12px;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border: 2px solid #d0d0d0;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
    font-weight: 500;
}

.category-radio,
.bargain-radio {
    accent-color: var(--primary-color);
}

.option-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.option-label:hover {
    border-color: var(--primary-color);
    background: rgba(46, 204, 113, 0.05);
}

.option-label input[type="radio"]:checked + span,
.option-label input:checked ~ span {
    color: var(--primary-color);
    font-weight: 700;
}

/* Byaat Select */
.byaat-select {
    max-width: 200px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px; /* controls vertical gap */
}

.form-group label {
    margin-bottom: 6px; /* reduced from 12px */
    font-weight: 600;
    color: var(--dark-color);
    font-size: 14px;
}


.form-textarea {
    width: 100%;
    padding: 10px 14px; /* slightly compact */
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    line-height: 1.4;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
    background: rgba(46, 204, 113, 0.02);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
    font-size: 13px;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    font-size: 12px;
    color: var(--gray-color);
    margin-top: 4px; /* reduced */
    display: block;
}
.row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0.5rem;
}
.bargain-options {
    display: flex;
    gap: 20px;
    margin-top: 6px;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}


.registration-notice {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.registration-notice i {
    font-size: 24px;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.registration-notice p {
    margin: 0;
    font-size: 14px;
    color: var(--dark-color);
    line-height: 1.5;
    font-weight: 500;
}

.button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.benefits-section {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.benefits-section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--dark-color);
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: linear-gradient(135deg, #f8f9fa 0%, rgba(46, 204, 113, 0.05) 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.benefit-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.15);
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark-color);
    font-weight: 600;
}

.benefit-card p {
    font-size: 14px;
    color: var(--gray-color);
    margin: 0;
    line-height: 1.5;
}

/* ==================== Responsive Seller Form ==================== */
@media (max-width: 768px) {
    .seller-form-section {
        padding: 25px;
    }

    .page-header {
        padding: 25px 15px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .page-header .header-icon {
        font-size: 36px;
    }

    .animal-type-images {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .animal-image-box {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .category-options,
    .bargain-options {
        grid-template-columns: 1fr;
    }

    .button-group {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .registration-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .registration-notice i {
        margin-top: 0;
    }

    .byaat-select {
        max-width: 100%;
    }
}

/* ==================== PashuKart Listings Styles ==================== */
.filter-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 14px;
}

.listings-container {
    margin-bottom: 40px;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.listing-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.listing-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.listing-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.listing-card:hover .listing-image img {
    transform: scale(1.08);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--gray-color);
}

.listing-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.listing-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.listing-breed {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.listing-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 12px;
    color: var(--gray-color);
    font-weight: 600;
    text-transform: uppercase;
}

.detail-value {
    font-size: 14px;
    color: var(--dark-color);
    font-weight: 600;
}

.listing-price {
    padding: 12px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.listing-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-small {
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 6px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, rgba(46, 204, 113, 0.05) 100%);
    border-radius: var(--border-radius);
    border: 2px dashed #e0e0e0;
}

.empty-state.hidden {
    display: none;
}

.empty-state i {
    font-size: 64px;
    color: var(--gray-color);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h2 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 25px;
}

/* ==================== Responsive Listings ==================== */
@media (max-width: 768px) {
    .filter-section {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .listings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .listing-details {
        grid-template-columns: 1fr;
    }

    .listing-actions {
        grid-template-columns: 1fr;
    }

    .empty-state {
        padding: 40px 20px;
    }

    .empty-state i {
        font-size: 48px;
    }
}

/* ==================== Location Input Styles ==================== */
.location-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.location-input-wrapper input {
    flex: 1;
}

.location-btn {
    padding: 10px 15px;
    white-space: nowrap;
}

.location-btn i {
    margin-right: 5px;
}

/* ==================== Modal Styles ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 0;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.location-modal {
    max-width: 900px;
    width: 90%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    margin: 0;
    color: var(--dark-color);
    font-size: 20px;
}

.close {
    font-size: 28px;
    font-weight: bold;
    color: var(--gray-color);
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
}

.close:hover,
.close:focus {
    color: var(--dark-color);
}

.modal-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

#map {
    border-radius: 8px;
    border: 2px solid var(--light-color);
}

.location-details p {
    margin: 5px 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.modal-footer .btn {
    min-width: 100px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-body {
        padding: 15px;
    }

    #map {
        height: 400px !important;
    }

    .location-input-wrapper {
        flex-direction: column;
    }

    .location-input-wrapper input {
        width: 100%;
    }

    .location-btn {
        width: 100%;
    }
}