* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}
body {
    background: #f0f4f8;
    padding: 20px;
    min-height: 100vh;
}


.login-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    display: flex;
    width: 1000px;
    max-width: 90%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.login-form-side {
    flex: 1;
    padding: 50px 40px;
    background: white;
}

.login-box h1 {
    color: #2c5e2e;
    margin-bottom: 25px;
    font-size: 28px;
}

.login-box input {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
}

.login-box input:focus {
    outline: none;
    border-color: #4CAF50;
}

.login-box button {
    width: 100%;
    background: #4CAF50;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.login-box button:hover {
    background: #45a049;
}

.login-image-side {
    flex: 1;
    background: linear-gradient(135deg, #f5f9ff 0%, #e8f5e9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.image-content {
    text-align: center;
    width: 100%;
}

.login-pet-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 20px;
}

.login-tagline {
    font-size: 16px;
    color: #2c5e2e;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 30px;
    display: inline-block;
    width: auto;
}


.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    background-color: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4CAF50;
    flex-wrap: wrap;
    gap: 10px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

h1, h2 {
    color: #2c5e2e;
    margin-bottom: 15px;
}

.logout-btn {
    background: #dc3545;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s;
}
.logout-btn:hover {
    background: #c82333;
}

/* ===== NOTIFICATION BELL STYLES ===== */
.notification-bell {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bell-icon {
    font-size: 24px;
    color: #ff9800;
    display: block;
}

.notification-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    min-width: 16px;
    text-align: center;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

/* ===== PETS GRID ===== */
.pets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.pet-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 15px;
    border-left: 5px solid #4CAF50;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.pet-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.pet-card h3 {
    color: #2c5e2e;
    margin-bottom: 8px;
}

.pet-card p {
    color: #666;
    margin-bottom: 12px;
    font-size: 14px;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary, .btn-sm {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    margin: 5px 5px 5px 0;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-primary:hover, .btn-secondary:hover, .btn-sm:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: #2196F3;
}

.btn-sm {
    padding: 6px 15px;
    font-size: 13px;
}

.delete, .delete-pet-btn {
    background: #dc3545;
}

.delete:hover, .delete-pet-btn:hover {
    background: #c82333;
}

.add-pet-link {
    text-align: center;
    margin: 20px 0 10px;
}

.add-pet-link .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
}

/* ===== FORM ELEMENTS ===== */
input, textarea, select {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

button {
    background: #4CAF50;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
}

/* ===== TABLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background: #4CAF50;
    color: white;
}

.error {
    background: #ffdddd;
    color: red;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.success {
    background: #ddffdd;
    color: green;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
}

.info-box {
    background: #e7f3ff;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    margin: 20px 0;
}

.info-box p {
    margin-bottom: 15px;
    font-size: 16px;
}

.reminder-list {
    list-style: none;
    margin: 15px 0;
}

.reminder-list li {
    background: #fff3cd;
    margin: 8px 0;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }
    
    .pets-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .pet-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        width: 100%;
        padding: 12px;
    }
    
    .btn-sm {
        padding: 5px 12px;
        font-size: 12px;
    }
}