* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.2);
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.hero p {
    color: white;
    font-size: 1.3rem;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.feature h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.feature-image {
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.feature-image h3 {
    color: white;
    font-size: 1.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.feature-image p {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.info-section.split {
    display: flex;
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.info-image {
    flex: 1;
    min-height: 350px;
    background-size: cover;
    background-position: center;
}

.info-content {
    flex: 1;
    padding: 40px;
}

.info-section h2 {
    color: #667eea;
    margin-bottom: 20px;
}

.steps {
    padding-left: 25px;
}

.steps li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.btn-hero {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.auth-box {
    max-width: 400px;
    margin: 60px auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.auth-box h1 {
    text-align: center;
    color: #667eea;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input[type="file"] {
    padding: 10px;
    background: #f9f9f9;
}

.current-photo {
    margin-bottom: 15px;
    text-align: center;
}

.current-photo img {
    border: 3px solid #667eea;
}

.form-hint {
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.auth-link {
    text-align: center;
    margin-top: 20px;
}

.auth-link a {
    color: #667eea;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

.error {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #c33;
}

.success {
    background: #efe;
    color: #3c3;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #3c3;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .info-section.split {
        flex-direction: column;
    }
    
    .info-image {
        min-height: 250px;
    }
}

.add-pet-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.add-pet-form h2 {
    color: #667eea;
    margin-bottom: 20px;
}

.pets-list h2 {
    color: #667eea;
    margin-bottom: 20px;
}

.pets-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.pet-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
}

.pet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.pet-header h3 {
    color: #333;
    flex: 1;
}

.pet-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #667eea;
}

.tag-code {
    background: #667eea;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: bold;
}

.pet-details p {
    margin-bottom: 8px;
    color: #555;
}

.btn-delete {
    background: #dc3545;
    margin-top: 15px;
}

.btn-delete:hover {
    background: #c82333;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.no-data {
    text-align: center;
    color: #888;
    padding: 40px;
    background: white;
    border-radius: 10px;
}

.admin-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.admin-section h2 {
    color: #667eea;
    margin-bottom: 20px;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #555;
}

.admin-table tr:hover {
    background: #f8f9fa;
}

.role-badge {
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
}

.role-admin {
    background: #e7f3ff;
    color: #0066cc;
}

.role-user {
    background: #e8f5e9;
    color: #2e7d32;
}

.inline-form {
    display: inline;
    margin-right: 5px;
}

.inline-form select {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.85rem;
    width: auto;
}

.text-muted {
    color: #888;
    font-style: italic;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

.lang-select {
    padding: 5px 10px;
    margin-left: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    background: rgba(255,255,255,0.2);
    color: white;
    cursor: pointer;
}

.lang-select option {
    color: #333;
    background: white;
}

.lang-box {
    margin-top: 20px;
    text-align: center;
}

.lang-box select {
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-edit {
    display: inline-block;
    padding: 6px 12px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    margin-right: 5px;
}

.btn-edit:hover {
    background: #218838;
}

.btn-cancel {
    display: inline-block;
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.btn-cancel:hover {
    background: #5a6268;
}

.pet-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.pet-actions form {
    flex: 1;
}

.pet-actions .btn-edit {
    flex: 1;
    text-align: center;
}

.pet-actions .btn-delete {
    margin-top: 0;
}

.tag-code-display {
    display: block;
    margin-top: 10px;
}

.pet-profile {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.pet-profile-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .pet-profile-content {
        grid-template-columns: 1fr;
    }
}

.pet-profile-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.pet-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.pet-profile-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pet-profile-title h1 {
    margin-bottom: 10px;
    color: #333;
}

.tag-code-large {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.pet-profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.detail-card h3 {
    color: #667eea;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.detail-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.contact-owner {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.contact-owner h3 {
    color: #667eea;
    margin-bottom: 20px;
}

.btn-contact {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-view {
    display: inline-block;
    padding: 12px 20px;
    background: #17a2b8;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-right: 5px;
}

.btn-view:hover {
    background: #138496;
}

.error-container {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 40px auto;
}

.error-container h2 {
    color: #dc3545;
    margin-bottom: 15px;
}

.error-container p {
    color: #666;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.pet-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.pet-section-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    font-size: 1.3rem;
    font-weight: 600;
}

.pet-section-content {
    padding: 30px;
}

.pet-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.subsection {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.subsection h4 {
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    font-size: 1.1rem;
}

.item-list {
    list-style: none;
}

.item-list li {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid #667eea;
}

.item-list li:last-child {
    margin-bottom: 0;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.item-title {
    font-weight: 600;
    color: #333;
}

.item-date {
    color: #888;
    font-size: 0.85rem;
}

.item-description {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.item-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.item-meta span {
    background: #e7f3ff;
    color: #0066cc;
    padding: 3px 10px;
    border-radius: 3px;
}

.item-meta .frequency {
    background: #e8f5e9;
    color: #2e7d32;
}

.item-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.add-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.add-form h5 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1rem;
}

.add-form .form-group {
    margin-bottom: 15px;
}

.add-form button {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 30px;
    color: #888;
}

.empty-state p {
    margin-bottom: 15px;
}

.btn-add {
    display: inline-block;
    padding: 8px 16px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.btn-add:hover {
    background: #218838;
}

.btn-delete-item {
    display: inline-block;
    padding: 4px 10px;
    background: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
}

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

textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s;
}

.qr-section {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #eee;
    margin-top: 20px;
}

.qr-section h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.qr-code {
    display: inline-block;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.qr-code canvas {
    display: block;
}

.qr-info {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.btn-download-qr {
    display: inline-block;
    padding: 10px 20px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-download-qr:hover {
    background: #218838;
}

.btn-qr-small {
    display: inline-block;
    padding: 6px 12px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
}

.btn-qr-small:hover {
    background: #5a6268;
}

.pet-info-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.info-block {
    margin-bottom: 15px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block h4 {
    color: #667eea;
    margin-bottom: 8px;
    font-size: 1rem;
}

.info-block p {
    color: #555;
    line-height: 1.5;
}

textarea:focus {
    outline: none;
    border-color: #667eea;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-header h1 {
    margin-bottom: 0;
}

.btn-add-pet {
    width: auto;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-add-pet:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.pets-table {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.pets-table-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pets-table-row {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.pets-table-row:last-child {
    border-bottom: none;
}

.pets-table-body .pets-table-row:hover {
    background: #f8f9fa;
}

.pets-table-cell {
    padding: 0 10px;
}

.cell-photo {
    width: 50px;
    flex-shrink: 0;
    text-align: center;
}

.cell-name {
    width: 120px;
    flex-shrink: 0;
    font-weight: 600;
}

.cell-species {
    width: 100px;
    flex-shrink: 0;
}

.cell-breed {
    flex: 1;
    min-width: 100px;
}

.cell-tag {
    width: 150px;
    flex-shrink: 0;
}

.cell-actions {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    gap: 5px;
    align-items: center;
}

.pet-row-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #667eea;
}

.pets-table-cell .tag-code {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .cell-breed {
        display: none;
    }
    
    .cell-tag {
        display: none;
    }
    
    .cell-actions {
        width: auto;
        flex-wrap: wrap;
    }
}

.checkbox-group {
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    color: #555;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-label a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 600;
}

.checkbox-label a:hover {
    color: #764ba2;
}

.modal-content-terms {
    max-width: 700px;
    max-height: 85vh;
}

.terms-body {
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 10px;
    line-height: 1.7;
    color: #444;
}

.terms-body h3 {
    color: #667eea;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.terms-body h3:first-child {
    margin-top: 0;
}

.terms-body p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.terms-body::-webkit-scrollbar {
    width: 6px;
}

.terms-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.terms-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.terms-body::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideIn 0.3s;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.modal-header h2 {
    color: #667eea;
    margin: 0;
}

.modal-close {
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-view-modal {
    flex: 1;
    display: inline-block;
    padding: 14px;
    background: #17a2b8;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

.btn-view-modal:hover {
    background: #138496;
}

.btn-delete-modal {
    flex: 1;
    width: auto;
    padding: 14px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

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

.settings-form {
    margin-bottom: 10px;
}

.form-group-inline {
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-group-inline label {
    font-weight: 600;
    color: #555;
}

.form-group-inline input[type="number"] {
    width: 80px;
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group-inline input[type="number"]:focus {
    outline: none;
    border-color: #667eea;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-inactive {
    background: #ffebee;
    color: #c62828;
}

.text-expired {
    color: #c62828;
    font-weight: 600;
}

.row-admin {
    background: #fffde7 !important;
}

#expiryModal .form-group {
    margin-bottom: 20px;
}

#expiryModal .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

#expiryModal .form-group input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
}

#expiryModal .form-group input[type="date"]:focus {
    outline: none;
    border-color: #667eea;
}

.account-expiry-info {
    margin-bottom: 20px;
}

.info-box {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-box strong {
    color: #1565c0;
}

.btn-extension {
    display: inline-block;
    padding: 8px 16px;
    background: #2196f3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 10px;
}

.btn-extension:hover {
    background: #1976d2;
}
