/* Variabile CSS pentru culori si setari */

:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --accent-color: #ff6b6b;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --text-color: #333;
    --text-light: #777;
    --spacing: 1rem;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --chat-left-bg: #e8ebf0;
    --chat-right-bg: #dcf8c6;
}

/* ascunde secțiunea medicală */
.animal-medical {
    display: none;
}
.animal-medical.visible {
    display: block;
}


/* Resetare si stiluri de baza */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Layout container */
.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar styling */
.sidebar {
    width: 250px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 0;
    box-shadow: var(--box-shadow);
}

.sidebar-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-header h2 {
    margin-top: 10px;
    font-size: 22px;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
}

.sidebar-menu li {
    padding: 10px 20px;
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.sidebar-menu li:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid white;
}

.sidebar-menu li.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid white;
}

.sidebar-menu a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.sidebar-menu i {
    margin-right: 10px;
    font-size: 18px;
}

/* Main content styling */
.main-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background-color: white;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: 15px;
}

/* About sections */
.about-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-color);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.mission-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--box-shadow);

}



.mission-icon {

    width: 70px;

    height: 70px;

    background: var(--primary-color);

    color: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.8rem;

    margin: 0 auto 1.5rem;

}



.mission-card h3 {

    margin-bottom: 1rem;

    color: var(--primary-color);

}



/* Team section */

.team-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

    margin-top: 2rem;

}



.team-member {

    background: white;

    border-radius: var(--border-radius);

    overflow: hidden;

    box-shadow: var(--box-shadow);

    transition: var(--transition);

    text-align: center;

}



.team-member:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

}



.member-image {

    height: 250px;

    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-size: 4rem;

}



.member-info {

    padding: 1.5rem;

}



.member-info h3 {

    color: var(--primary-color);

    margin-bottom: 0.5rem;

}



.member-role {

    color: var(--accent-color);

    font-weight: 500;

    margin-bottom: 1rem;

}



.member-social {

    display: flex;

    justify-content: center;

    gap: 1rem;

    margin-top: 1rem;

}



.member-social a {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 35px;

    height: 35px;

    background: var(--light-color);

    border-radius: 50%;

    color: var(--primary-color);

    transition: var(--transition);

}



.member-social a:hover {

    background: var(--primary-color);

    color: white;

}



/* Contact quick section */

.contact-quick {

    background: white;

    border-radius: var(--border-radius);

    padding: 2.5rem;

    box-shadow: var(--box-shadow);

}



.contact-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

    margin-top: 2rem;

}



.contact-item {

    display: flex;

    align-items: flex-start;

    margin-bottom: 1.5rem;

}



.contact-icon {

    width: 50px;

    height: 50px;

    background: var(--primary-color);

    color: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-right: 1rem;

    flex-shrink: 0;

    font-size: 1.2rem;

}



.contact-text h3 {

    margin-bottom: 0.3rem;

    color: var(--primary-color);

}



.contact-text p, .contact-text a {

    color: var(--text-light);

    text-decoration: none;

    transition: var(--transition);

}



.contact-text a:hover {

    color: var(--primary-color);

}



.btn {

    display: inline-block;

    padding: 12px 25px;

    background: var(--primary-color);

    color: white;

    border: none;

    border-radius: var(--border-radius);

    font-size: 1rem;

    font-weight: 500;

    cursor: pointer;

    transition: var(--transition);

    text-decoration: none;

    text-align: center;

    margin-top: 1rem;

}



.btn:hover {

    background: var(--secondary-color);

}



.btn-block {

    display: block;

    width: 100%;

}



/* Dashboard cards */

.dashboard-cards {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

    gap: 20px;

    margin-bottom: 30px;

}



.card {

    background-color: white;

    border-radius: var(--border-radius);

    padding: 20px;

    box-shadow: var(--box-shadow);

}



.card-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;

}



.card-title {

    font-size: 18px;

    font-weight: 600;

}



.card-icon {

    width: 40px;

    height: 40px;

    border-radius: 8px;

    background-color: var(--primary-color);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

}



/* Profile section */

.profile-section {

    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 20px;

}



.profile-card {

    background-color: white;

    border-radius: var(--border-radius);

    padding: 20px;

    box-shadow: var(--box-shadow);

    text-align: center;

}



.profile-image {

    width: 150px;

    height: 150px;

    border-radius: 50%;

    object-fit: cover;

    margin: 0 auto 20px;

    border: 5px solid var(--light-color);

}



.profile-name {

    font-size: 22px;

    font-weight: bold;

    margin-bottom: 5px;

}



.profile-role {

    color: var(--primary-color);

    margin-bottom: 15px;

}



.profile-stats {

    display: flex;

    justify-content: space-around;

    margin: 20px 0;

}



.stat {

    text-align: center;

}



.stat-value {

    font-size: 20px;

    font-weight: bold;

    color: var(--primary-color);

}



.stat-label {

    font-size: 14px;

    color: #777;

}



/* Details card */

.details-card {

    background-color: white;

    border-radius: var(--border-radius);

    padding: 20px;

    box-shadow: var(--box-shadow);

}



.detail-item {

    margin-bottom: 15px;

    display: flex;

    align-items: center;

}



.detail-icon {

    width: 30px;

    height: 30px;

    border-radius: 50%;

    background-color: var(--light-color);

    color: var(--primary-color);

    display: flex;

    align-items: center;

    justify-content: center;

    margin-right: 15px;

}



.detail-label {

    font-weight: 600;

    width: 120px;

}



/* Buttons */

.btn {

    display: inline-block;

    padding: 12px 25px;

    background-color: var(--primary-color);

    color: white;

    border: none;

    border-radius: var(--border-radius);

    cursor: pointer;

    text-decoration: none;

    transition: var(--transition);

    font-size: 16px;

    font-weight: 500;

}



.btn:hover {

    background-color: var(--secondary-color);

}



.btn-danger {

    background-color: var(--accent-color);

}



.btn-danger:hover {

    background-color: #ff5252;

}



.btn-outline {

    background-color: transparent;

    border: 1px solid #ddd;

    color: #333;

}



.btn-outline:hover {

    background-color: #f8f9fa;

}



.button-group {

    display: flex;

    gap: 10px;

    margin-top: 10px;

}



/* Settings sections */

.settings-container {

    display: grid;

    grid-template-columns: 1fr;

    gap: 20px;

}



.settings-card {

    background-color: white;

    border-radius: var(--border-radius);

    padding: 25px;

    box-shadow: var(--box-shadow);

}



.settings-header {

    display: flex;

    align-items: center;

    margin-bottom: 20px;

    padding-bottom: 15px;

    border-bottom: 1px solid #eee;

}



.settings-icon {

    width: 40px;

    height: 40px;

    border-radius: 8px;

    background-color: var(--primary-color);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-right: 15px;

}



.settings-title {

    font-size: 20px;

    font-weight: 600;

}



/* Form styling */

.form-group {

    margin-bottom: 20px;

}



.form-group label {

    display: block;

    margin-bottom: 8px;

    font-weight: 500;

}



.form-control {

    width: 100%;

    padding: 12px 15px;

    border: 1px solid #ddd;

    border-radius: 4px;

    font-size: 16px;

    transition: var(--transition);

}



.form-control:focus {

    border-color: var(--primary-color);

    outline: none;

    box-shadow: 0 0 0 3px rgba(78, 84, 200, 0.2);

}



.form-hint {

    font-size: 14px;

    color: #6c757d;

    margin-top: 5px;

}



/* Toggle switch */

.toggle-switch {

    position: relative;

    display: inline-block;

    width: 60px;

    height: 30px;

}



.toggle-switch input {

    opacity: 0;

    width: 0;

    height: 0;

}



.slider {

    position: absolute;

    cursor: pointer;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background-color: #ccc;

    transition: .4s;

    border-radius: 34px;

}



.slider:before {

    position: absolute;

    content: "";

    height: 22px;

    width: 22px;

    left: 4px;

    bottom: 4px;

    background-color: white;

    transition: .4s;

    border-radius: 50%;

}



input:checked + .slider {

    background-color: var(--primary-color);

}



input:checked + .slider:before {

    transform: translateX(30px);

}



.toggle-label {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 15px;

}



.toggle-text {

    flex: 1;

}



/* Chat container */

.chat-container {

    display: flex;

    flex: 1;

    gap: 20px;

    background-color: white;

    border-radius: var(--border-radius);

    overflow: hidden;

    box-shadow: var(--box-shadow);

}



/* Contacts sidebar */

.contacts-sidebar {

    width: 300px;

    border-right: 1px solid #eee;

    display: flex;

    flex-direction: column;

}



.contacts-header {

    padding: 15px 20px;

    border-bottom: 1px solid #eee;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.contacts-search {

    padding: 15px 20px;

    border-bottom: 1px solid #eee;

}



.search-input {

    width: 100%;

    padding: 10px 15px;

    border: 1px solid #ddd;

    border-radius: 20px;

    font-size: 14px;

    background-color: #f5f5f5;

}



.contacts-list {

    flex: 1;

    overflow-y: auto;

}



.contact-item {

    display: flex;

    align-items: center;

    padding: 15px 20px;

    border-bottom: 1px solid #f5f5f5;

    cursor: pointer;

    transition: var(--transition);

}



.contact-item:hover, .contact-item.active {

    background-color: #f9f9f9;

}



.contact-avatar {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background-color: var(--secondary-color);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: bold;

    margin-right: 15px;

}



.contact-info {

    flex: 1;

}



.contact-name {

    font-weight: 600;

    margin-bottom: 4px;

}



.contact-preview {

    font-size: 13px;

    color: #777;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.contact-meta {

    text-align: right;

}



.contact-time {

    font-size: 12px;

    color: #777;

    margin-bottom: 5px;

}



.contact-badge {

    display: inline-block;

    background-color: var(--accent-color);

    color: white;

    font-size: 12px;

    padding: 2px 6px;

    border-radius: 10px;

}



/* Chat area */

.chat-area {

    flex: 1;

    display: flex;

    flex-direction: column;

}



.chat-header {

    padding: 15px 20px;

    border-bottom: 1px solid #eee;

    display: flex;

    align-items: center;

}



.chat-user {

    display: flex;

    align-items: center;

    flex: 1;

}



.chat-user-avatar {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background-color: var(--primary-color);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: bold;

    margin-right: 15px;

}



.chat-user-info h3 {

    margin-bottom: 3px;

}



.chat-user-info p {

    font-size: 13px;

    color: #28a745;

}



.chat-actions {

    display: flex;

    gap: 15px;

}



.chat-action-btn {

    background: none;

    border: none;

    color: #777;

    cursor: pointer;

    font-size: 18px;

}



.chat-messages {

    flex: 1;

    padding: 20px;

    overflow-y: auto;

    background-color: #f9f9f9;

    display: flex;

    flex-direction: column;

    gap: 15px;

}



.message {

    display: flex;

    max-width: 70%;

}



.message.received {

    align-self: flex-start;

}



.message.sent {

    align-self: flex-end;

}



.message-content {

    padding: 12px 15px;

    border-radius: 18px;

    position: relative;

}



.received .message-content {

    background-color: var(--chat-left-bg);

    border-top-left-radius: 4px;

}



.sent .message-content {

    background-color: var(--chat-right-bg);

    border-top-right-radius: 4px;

}



.message-time {

    font-size: 11px;

    color: #777;

    margin-top: 5px;

    text-align: right;

}



.chat-input {

    padding: 15px 20px;

    border-top: 1px solid #eee;

    display: flex;

    align-items: center;

    gap: 10px;

}



.chat-input input {

    flex: 1;

    padding: 12px 15px;

    border: 1px solid #ddd;

    border-radius: 20px;

    font-size: 14px;

}



.chat-input button {

    background-color: var(--primary-color);

    color: white;

    border: none;

    border-radius: 50%;

    width: 40px;

    height: 40px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

}



/* Online users section */

.online-users {

    padding: 15px 20px;

    border-top: 1px solid #eee;

}



.online-users h3 {

    margin-bottom: 15px;

    font-size: 16px;

}



.online-users-list {

    display: flex;

    gap: 15px;

    overflow-x: auto;

    padding: 5px 0;

}



.online-user {

    display: flex;

    flex-direction: column;

    align-items: center;

    cursor: pointer;

}



.online-user-avatar {

    width: 50px;

    height: 50px;

    border-radius: 50%;

    background-color: var(--secondary-color);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: bold;

    margin-bottom: 8px;

    position: relative;

}



.online-status {

    position: absolute;

    bottom: 0;

    right: 0;

    width: 12px;

    height: 12px;

    background-color: var(--success-color);

    border: 2px solid white;

    border-radius: 50%;

}



.online-user-name {

    font-size: 12px;

    text-align: center;

}



/* Header styling pentru paginile fara sidebar */

header {

    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));

    color: white;

    padding: 1rem 0;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}



.header-container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 var(--spacing);

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.logo {

    display: flex;

    align-items: center;

    font-size: 1.8rem;

    font-weight: bold;

}



.logo i {

    margin-right: 10px;

}



/* Navigation */

nav ul {

    display: flex;

    list-style: none;

}



nav li {

    margin-left: 1.5rem;

}



nav a {

    color: white;

    text-decoration: none;

    font-weight: 500;

    padding: 0.5rem;

    border-radius: var(--border-radius);

    transition: var(--transition);

}



nav a:hover, nav a.active {

    background-color: rgba(255, 255, 255, 0.2);

}



.auth-buttons {

    display: flex;

    gap: 1rem;

}



/* Hero section */

.hero {

    background: linear-gradient(rgba(78, 84, 200, 0.8), rgba(143, 148, 251, 0.8)), url('/images/photobackground1.jpg') center/cover no-repeat;

    color: white;

    padding: 4rem var(--spacing);

    text-align: center;

}



.hero-content {

    max-width: 800px;

    margin: 0 auto;

}



.hero h1 {

    font-size: 2.5rem;

    margin-bottom: 1rem;

}



.hero p {

    font-size: 1.2rem;

    margin-bottom: 2rem;

    opacity: 0.9;

}



.search-box {

    max-width: 600px;

    margin: 0 auto;

    display: flex;

    background: white;

    border-radius: 50px;

    overflow: hidden;

    box-shadow: var(--box-shadow);

}



.search-box input {

    flex: 1;

    padding: 1rem 1.5rem;

    border: none;

    outline: none;

    font-size: 1rem;

}



.search-box button {

    padding: 1rem 1.5rem;

    background: var(--accent-color);

    color: white;

    border: none;

    cursor: pointer;

    transition: var(--transition);

}



.search-box button:hover {

    background: #ff5252;

}



/* Features section */

.features {

    padding: 4rem var(--spacing);

    background: white;

}



.section-title {

    text-align: center;

    margin-bottom: 3rem;

}



.section-title h2 {

    font-size: 2rem;

    color: var(--primary-color);

    margin-bottom: 1rem;

}



.section-title p {

    color: var(--text-light);

    max-width: 600px;

    margin: 0 auto;

}



.features-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 2rem;

    max-width: 1200px;

    margin: 0 auto;

}



.feature-card {

    background: var(--light-color);

    border-radius: var(--border-radius);

    padding: 2rem;

    text-align: center;

    box-shadow: var(--box-shadow);

    transition: var(--transition);

}



.feature-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

}



.feature-icon {

    width: 70px;

    height: 70px;

    background: var(--primary-color);

    color: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.8rem;

    margin: 0 auto 1.5rem;

}



.feature-card h3 {

    margin-bottom: 1rem;

    color: var(--primary-color);

}



/* Animals section */

.animals {

    padding: 4rem var(--spacing);

    background: #f9f9f9;

}



.animals-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 2rem;

    max-width: 1200px;

    margin: 0 auto;

}



.animal-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}



.animal-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

}



.animal-image {

    height: 200px;

    overflow: hidden;

}



.animal-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: var(--transition);

}



.animal-card:hover .animal-image img {

    transform: scale(1.05);

}



.animal-info {

    padding: 1.5rem;

}



.animal-info h3 {

    margin-bottom: 0.5rem;

    color: var(--primary-color);

}



.animal-meta {

    display: flex;

    justify-content: space-between;

    color: var(--text-light);

    font-size: 0.9rem;

    margin-bottom: 1rem;

}



.animal-description {

    margin-bottom: 1.5rem;

    color: var(--text-light);

}



/* Stats section */

.stats {

    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));

    color: white;

    padding: 4rem var(--spacing);

    text-align: center;

}



.stats-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 2rem;

    max-width: 1200px;

    margin: 0 auto;

}



.stat-item h3 {

    font-size: 2.5rem;

    margin-bottom: 0.5rem;

}



/* Main content pentru paginile fara sidebar */

.main-container {

    flex: 1;

    padding: 3rem var(--spacing);

}



.page-title {

    text-align: center;

    margin-bottom: 3rem;

}



.page-title h1 {

    font-size: 2.5rem;

    color: var(--primary-color);

    margin-bottom: 1rem;

}



.page-title p {

    color: var(--text-light);

    max-width: 600px;

    margin: 0 auto;

}



.contact-container {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 2rem;

    max-width: 1200px;

    margin: 0 auto;

}



.contact-info {

    background: white;

    border-radius: var(--border-radius);

    padding: 2rem;

    box-shadow: var(--box-shadow);

}



.contact-info h2 {

    color: var(--primary-color);

    margin-bottom: 1.5rem;

    padding-bottom: 0.5rem;

    border-bottom: 2px solid var(--light-color);

}



.contact-details {

    margin-bottom: 2rem;

}



.contact-item {

    display: flex;

    align-items: flex-start;

    margin-bottom: 1.5rem;

}



.contact-icon {

    width: 40px;

    height: 40px;

    background: var(--primary-color);

    color: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-right: 1rem;

    flex-shrink: 0;

}



.contact-text h3 {

    margin-bottom: 0.3rem;

    color: var(--primary-color);

}



.contact-text p, .contact-text a {

    color: var(--text-light);

    text-decoration: none;

    transition: var(--transition);

}



.contact-text a:hover {

    color: var(--primary-color);

}



.business-hours {

    margin-top: 2rem;

}



.business-hours h3 {

    color: var(--primary-color);

    margin-bottom: 1rem;

}



.hours-list {

    list-style: none;

}



.hours-list li {

    display: flex;

    justify-content: space-between;

    margin-bottom: 0.5rem;

    padding-bottom: 0.5rem;

    border-bottom: 1px solid #f0f0f0;

}



.hours-list li:last-child {

    border-bottom: none;

}



.day {

    font-weight: 500;

}



/* Contact form */

.contact-form {

    background: white;

    border-radius: var(--border-radius);

    padding: 2rem;

    box-shadow: var(--box-shadow);

}



.contact-form h2 {

    color: var(--primary-color);

    margin-bottom: 1.5rem;

    padding-bottom: 0.5rem;

    border-bottom: 2px solid var(--light-color);

}



/* Login container */

.login-container {

    background: white;

    border-radius: var(--border-radius);

    box-shadow: var(--box-shadow);

    width: 100%;

    max-width: 450px;

    overflow: hidden;

    margin: 0 auto;

}



.login-header {

    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));

    color: white;

    padding: 2rem;

    text-align: center;

}



.login-header h1 {

    font-size: 1.8rem;

    margin-bottom: 0.5rem;

}



.login-header p {

    opacity: 0.9;

}



.login-body {

    padding: 2rem;

}



.input-with-icon {

    position: relative;

}



.input-with-icon i {

    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--text-light);

}



.input-with-icon input {

    padding-left: 45px;

}



textarea.form-control {

    min-height: 150px;

    resize: vertical;

}



.btn-block {

    display: block;

    width: 100%;

}



.separator {

    display: flex;

    align-items: center;

    text-align: center;

    margin: 1.5rem 0;

    color: var(--text-light);

}



.separator::before,

.separator::after {

    content: '';

    flex: 1;

    border-bottom: 1px solid #ddd;

}



.separator:not(:empty)::before {

    margin-right: .5em;

}



.separator:not(:empty)::after {

    margin-left: .5em;

}



.login-options {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 1.5rem;

    font-size: 0.9rem;

}



.remember-me {

    display: flex;

    align-items: center;

    gap: 5px;

}



.forgot-password {

    color: var(--primary-color);

    text-decoration: none;

    transition: var(--transition);

}



.forgot-password:hover {

    text-decoration: underline;

}



.register-link {

    text-align: center;

    margin-top: 1.5rem;

    font-size: 0.9rem;

}



.register-link a {

    color: var(--primary-color);

    text-decoration: none;

    font-weight: 500;

    transition: var(--transition);

}



.register-link a:hover {

    text-decoration: underline;

}



.btn-google {

    background: white;

    color: var(--text-color);

    border: 1px solid #ddd;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

}



.btn-google:hover {

    background: #f5f5f5;

}



/* Map section */

.map-section {

    margin-top: 3rem;

    background: white;

    border-radius: var(--border-radius);

    overflow: hidden;

    box-shadow: var(--box-shadow);

}



.map-section h2 {

    padding: 1.5rem 2rem;

    color: var(--primary-color);

    border-bottom: 1px solid #f0f0f0;

}



.map-container {

    height: 400px;

    background: #f0f0f0;

    display: flex;

    align-items: center;

    justify-content: center;

}



/* FAQ section */

.faq-section {

    margin-top: 3rem;

    background: white;

    border-radius: var(--border-radius);

    padding: 2rem;

    box-shadow: var(--box-shadow);

}



.faq-section h2 {

    color: var(--primary-color);

    margin-bottom: 1.5rem;

    padding-bottom: 0.5rem;

    border-bottom: 2px solid var(--light-color);

}



.faq-list {

    list-style: none;

}



.faq-item {

    margin-bottom: 1.5rem;

    border-bottom: 1px solid #f0f0f0;

    padding-bottom: 1.5rem;

}



.faq-item:last-child {

    border-bottom: none;

    margin-bottom: 0;

    padding-bottom: 0;

}



.faq-question {

    font-weight: 600;

    margin-bottom: 0.5rem;

    color: var(--primary-color);

}



.faq-answer {

    color: var(--text-light);

}



/* Modal pentru resetare parola */

.modal {

    display: none;

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.5);

    z-index: 1000;

    align-items: center;

    justify-content: center;

}



.modal-content {

    background: white;

    border-radius: var(--border-radius);

    width: 100%;

    max-width: 450px;

    padding: 2rem;

    box-shadow: var(--box-shadow);

    position: relative;

}



.modal-close {

    position: absolute;

    top: 15px;

    right: 15px;

    background: none;

    border: none;

    font-size: 1.5rem;

    cursor: pointer;

    color: var(--text-light);

}



.modal-header {

    margin-bottom: 1.5rem;

}



.modal-header h2 {

    color: var(--primary-color);

}



/* Footer */

footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem var(--spacing) 1.5rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {

    display: flex;

    gap: 1rem;

    margin-top: 1.5rem;

}



.social-links a {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    background: rgba(255, 255, 255, 0.1);

    border-radius: 50%;

    color: white;

    transition: var(--transition);

}



.social-links a:hover {

    background: var(--primary-color);

    transform: translateY(-3px);

}



.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive design */
@media (max-width: 992px) {
    .sidebar {width: 70px;}
    .sidebar-header h2, .sidebar-menu span {display: none;}

    .sidebar-menu li {
        text-align: center;
        padding: 15px 10px;
    }

    .sidebar-menu i {
        margin-right: 0;
        font-size: 20px;
    }

    .contacts-sidebar {width: 250px;}
    .profile-section {grid-template-columns: 1fr;}
}

@media (max-width: 768px) {
html, body {
    height: 100%;
  }

  body {
    min-height: 100dvh;      /* viewport real pe mobile */
  }

  .hero {
    min-height: calc(100dvh - 56px);  /* scadem bara mov fixa */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

/* corectare logo pe mobil, a se verifica */

  .header-container {
    position: relative;              /* permite pozitionare absoluta a butonului */
    display: flex;
    align-items: center;
    justify-content: center;         /* CENTER pentru logo */
  }

.header-container .logo {
    margin: 0 auto;                  /* se mentine perfect centrat */
  }

  .header-container .menu-toggle {
    position: absolute;              /* il „lipim” de dreapta fara a misca logo-ul */
    right: 16px;                     /* ajusteaza dupa gust (12–20px) */
    top: 50%;
    transform: translateY(-50%);     /* centrat vertical in header */
    display: inline-flex;
    z-index: 5;                      /* deasupra oricaror fonduri */
  }
/* corectare logo pe mobil, sfarsit */

    .user-info {

        margin-bottom: 15px;

    }



    .button-group {

        flex-direction: column;

    }



    .chat-container {

        flex-direction: column;

    }



    .contacts-sidebar {

        width: 100%;

        border-right: none;

        border-bottom: 1px solid #eee;

        max-height: 300px;

    }



    .header-container {

        flex-direction: column;

        text-align: center;

    }



    nav ul {

        margin-top: 1rem;

        justify-content: center;

    }



    nav li {

        margin: 0 0.5rem;

    }



    .contact-container {

        grid-template-columns: 1fr;

    }



    .map-container {

        height: 300px;

    }



    .search-box {

        flex-direction: column;

        border-radius: var(--border-radius);

    }



    .search-box input {

        border-radius: var(--border-radius) var(--border-radius) 0 0;

    }



    .search-box button {

        border-radius: 0 0 var(--border-radius) var(--border-radius);

    }

}



@media (max-width: 576px) {

    .header-container {

        padding: 0 1rem;

    }



    .hero, .features, .animals, .stats {

        padding: 2rem 1rem;

    }



    .feature-card, .animal-card {

        padding: 1.5rem;

    }



    .footer-container {

        grid-template-columns: 1fr;

    }



    .main-container {

        padding: 2rem 1rem;

    }



    .contact-info, .contact-form, .faq-section {

        padding: 1.5rem;

    }



    .login-header, .login-body {

        padding: 1.5rem;

    }

}



/* Menu toggle pentru mobile */

.menu-toggle {

    display: none;

    flex-direction: column;

    justify-content: space-around;

    width: 2rem;

    height: 2rem;

    background: transparent;

    border: none;

    cursor: pointer;

    padding: 0;

}



.menu-toggle span {

    width: 2rem;

    height: 0.25rem;

    background: white;

    border-radius: 10px;

    transition: var(--transition);

    position: relative;

    transform-origin: 1px;

}



@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .about-section {
        padding: 1.5rem;
    }

    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        background: var(--primary-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }

    nav ul.active {
        left: 0;
    }

    nav li {
        margin: 1.5rem 0;
    }

    .auth-buttons {

        display: none;

    }



    .hero h1 {

        font-size: 2rem;

    }



    .hero p {

        font-size: 1rem;

    }

}

 /* css listing */

       /* Stiluri specifice pentru pagina de adopții */
        .adoption-options {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin: 20px 0;
        }
        
        .adoption-option {
            background: #fff;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }
        
        .adoption-option:active {
            transform: scale(0.98);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .option-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: #4e7ae1;
        }
        
        .option-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: #333;
        }
        
        .option-desc {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 15px;
        }
        
        /* Modal pentru formular */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 10000;
            overflow-y: auto;
            padding: 20px;
            box-sizing: border-box;
        }
        
        .modal-content {
            background-color: #f8f9fa;
            margin: 5% auto;
            padding: 20px;
            border-radius: 12px;
            width: 100%;
            max-width: 500px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            position: relative;
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
            color: #666;
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            box-sizing: border-box;
        }
        
        select.form-control {
            height: 46px;
        }
        
        .animals-section {
            margin-top: 40px;
        }
        
        /* Animale pentru adoptie */
        .animals-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-top: 20px;
        }
        
        @media (min-width: 768px) {
            .animals-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .adoption-options {
                flex-direction: row;
            }
        }
        
        @media (min-width: 992px) {
            .animals-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        .animal-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        
        .animal-image {
            height: 200px;
            overflow: hidden;
        }
        
        .animal-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .animal-info {
            padding: 15px;
        }
        
        .animal-meta {
            display: flex;
            justify-content: space-between;
            margin: 10px 0;
            font-size: 0.9rem;
            color: #666;
        }
        
        .animal-description {
            margin-bottom: 15px;
            color: #444;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .section-title h2 {
            font-size: 1.8rem;
            margin-bottom: 10px;
            color: #333;
        }
        
        .section-title p {
            color: #666;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .success-message {
            background-color: #d4edda;
            color: #155724;
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 20px;
            text-align: center;
        }
        
        /* Stiluri pentru conținutul principal */
        main {
            padding: 20px;
            max-width: 1200px;
            margin: 80px auto 40px;
        }
        
        /* Butoane */
        .btn {
            display: inline-block;
            padding: 10px 20px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 500;
            cursor: pointer;
            border: none;
            transition: background-color 0.3s;
        }
        
        .btn-primary {
            background-color: #4e7ae1;
            color: white;
        }
        
        .btn-secondary {
            background-color: #6c757d;
            color: white;
        }
        
        .btn-primary:hover, .btn-secondary:hover {
            opacity: 0.9;
        }
        
/* Fix responsive pe mobil pentru dashboard */
@media (max-width: 768px) {
  /* Previne suprapuneri în carduri (animale + evenimente) */
  .animal-card, .event-item {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto; /* Taie cuvinte lungi */
    line-height: 1.4; /* Mai mult spațiu între linii */
    margin-bottom: 15px; /* Spațiu extra între elemente */
  }

  /* Text în header (nume user, data) */
  .user-header, .event-title, .event-date {
    font-size: 14px; /* Micșorează fontul pe mobil */
    white-space: normal; /* Nu permite text pe o linie */
    padding: 5px 0; /* Spațiu vertical */
  }

  /* Calendar evenimente */
  .event-details {
    font-size: 12px;
    margin-top: 2px;
  }

  /* Grid animale (dacă e flex/grid) */
  .animals-grid {
    display: flex;
    flex-direction: column; /* Stivă vertical pe mobil */
    gap: 10px;
  }

  /* General: Nu permite scroll orizontal */
  body, .dashboard-container {
    overflow-x: hidden;
    max-width: 100vw;
  }
}

/* ——————————————————————
   SPECIFIC PENTRU HOMEPAGE (fost în index.php)
   —————————————————————— */



.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px 0;
  position: relative;
  z-index: 2; /* peste overlay */
}

/* buton de baza */
.hero-btn {
  width: 90%;
  max-width: 400px;
  padding: 16px 20px;
  border-radius: 18px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

/* buton Logare (albastru) */
.hero-login {
  background: #4a4fe3;
  color: #fff;
  border-color: #4a4fe3;
  box-shadow: 0 10px 25px rgba(74, 79, 227, 0.4);
}
.hero-login:hover {
  background: #3c3fc2;
}

/* buton Inregistrare (alb) */
.hero-register {
  background: #fff;
  color: #4a4fe3;
  border-color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.hero-register:hover {
  background: #f6f7ff;
}

/* pe desktop le pastram subtile si mici */
@media (min-width: 769px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
  .hero-btn {
    width: auto;
    padding: 10px 18px;
    font-size: 16px;
    border-radius: 999px;
    font-weight: 600;
  }
}

/* ascunde implicit */
.hero-buttons {
  display: none;
}

/* afiseaza DOAR pe mobil (pana la 768px) */
@media (max-width: 768px) {
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 22px 0;
    position: relative;
    z-index: 2;
  }
}

/* === Top blue mobile bar + hamburger pentru Animu === */
@media (max-width: 768px) {
  /* ascundem header-ul clasic pe mobil */
  header {
    display: none;
  }

  .animu-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #4e54c8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    justify-content: space-between;
  }

  .animu-menu-btn {
    font-size: 24px;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 4px 8px;
    flex: none;
    order: -1;
  }

  .animu-nav-logo a {
  /*  display: flex; */
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
  }

  .animu-nav-logo {
    flex: 1;                    /* Ocupă spațiul disponibil pentru centrare */
    text-align: center;         /* Centrează textul/link-ul în interior */
  }

  .animu-nav-logo i {
    font-size: 1.3rem;
  }

  .animu-nav-search {
    font-size: 18px;
  }

  .animu-side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    box-shadow: 2px 0 12px rgba(0,0,0,0.3);
    z-index: 999;
    padding: 50px 15px;
    box-sizing: border-box;
    transition: left 0.25s ease;
  }

  .animu-side-menu.animu-menu-open {
    left: 0;
  }

  .animu-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .animu-menu-title {
    font-weight: 700;
    font-size: 1rem;
    color: #111827;
  }

  .animu-menu-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
  }

  .animu-menu-list {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
  }

  .animu-menu-item {
    border-bottom: 1px solid #f3f4f6;
  }

  .animu-menu-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #111827;
    font-size: 0.95rem;
    white-space: nowrap;  /* Previno break pe text lung, sau folosește normal dacă vrei wrap */
    overflow: hidden;
    text-overflow: ellipsis;  /* ... pentru text prea lung */
  }

  .animu-menu-link:hover {
    background: #f9fafb;
  }

  .animu-menu-icon {
    width: 20px;
    margin-right: 15px;
    text-align: center;
  }

  .animu-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 998;
  }

  .animu-menu-overlay.animu-overlay-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* spatiu pentru header fix pe mobil */
  body {
    padding-top: 56px;
  }
}

@media (min-width: 769px) {
  .animu-mobile-nav,
  .animu-side-menu,
  .animu-menu-overlay {
    display: none;
  }
}

/* Ascunde pe tabletă (lățime între 768px și 1024px) */
@media (max-width: 768px) {
    .animals {
        display: none !important;  /* Ascunde secțiunea cu animăluțe */
    }
    footer {
        display: none !important;  /* Ascunde footer-ul, ca o coadă ascunsă! */
    }
}

.search-box {
    display: none !important;  /* Ascunde întregul search temporar */
}

@media all and (display-mode: standalone) {
    .animals {
        display: none !important;  /* Ascunde secțiunea Animals în app instalat */
    }
    footer {
        display: none !important;  /* Ascunde footer-ul în app instalat */
    }
}

/* actualizare fix*/

.animu-menu-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;  /* Mai mult spațiu orizontal */
    text-decoration: none;
    color: #333;
}

.animu-menu-icon {
    margin-right: 15px;  /* Spațiu fix între icoană și text */
    font-size: 18px;
    min-width: 20px;     /* Asigură aliniere uniformă */
}

.animu-menu-list li {
    border-bottom: 1px solid #eee;
}