/**
 * Les Anges du Rail - Public Styles
 */

/* Form Container */
.adr-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.adr-form-intro {
    text-align: center;
    margin-bottom: 30px;
}

.adr-form-intro h2 {
    color: var(--adr-primary, #2E86AB);
    margin-bottom: 10px;
}

/* Form Grid */
.adr-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

/* Form Groups */
.adr-form-group {
    margin-bottom: 20px;
}

.adr-form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--adr-dark, #1A1A2E);
}

.adr-form-label .required {
    color: #C73E1D;
}

.adr-form-input,
.adr-form-select,
.adr-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--adr-radius, 8px);
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.adr-form-input:focus,
.adr-form-select:focus,
.adr-form-textarea:focus {
    outline: none;
    border-color: var(--adr-primary, #2E86AB);
    box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.1);
}

.adr-form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Checkbox Label */
.adr-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.adr-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

/* Form Actions */
.adr-form-actions {
    margin-top: 30px;
    text-align: center;
}

.adr-form-footer {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
}

/* Messages */
.adr-form-message {
    padding: 15px 20px;
    border-radius: var(--adr-radius, 8px);
    margin-top: 20px;
}

.adr-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.adr-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Notice */
.adr-notice {
    padding: 15px 20px;
    border-radius: var(--adr-radius, 8px);
    background-color: #e7f3ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.adr-notice-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Login Required */
.adr-login-required {
    text-align: center;
    padding: 40px 20px;
    background: var(--adr-light, #F7F7F7);
    border-radius: var(--adr-radius-lg, 16px);
}

.adr-small {
    font-size: 14px;
    color: #666;
}

/* Search Results */
.adr-search-results {
    margin-top: 30px;
}

.adr-results-count {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Trajet Cards */
.adr-trajets-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.adr-trajet-card {
    background: #fff !important;
    color: #333 !important;
    border-radius: var(--adr-radius-lg, 16px);
    box-shadow: var(--adr-shadow, 0 2px 8px rgba(0, 0, 0, 0.1));
    padding: 25px;
    transition: box-shadow 0.3s;
}

.adr-trajet-card * {
    color: inherit;
}

.adr-trajet-card .adr-trajet-route {
    color: #333 !important;
}

.adr-trajet-card .adr-trajet-date {
    background: #7a5e4f !important;
    color: #fff !important;
}

.adr-trajet-card .adr-trajet-meta {
    color: #666 !important;
}

.adr-trajet-card .adr-btn-primary {
    color: #fff !important;
}

.adr-trajet-card:hover {
    box-shadow: var(--adr-shadow-lg, 0 4px 20px rgba(0, 0, 0, 0.15));
}

.adr-trajet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.adr-trajet-route {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
}

.adr-trajet-arrow {
    color: var(--adr-primary, #2E86AB);
    font-size: 24px;
}

.adr-trajet-date {
    background: var(--adr-primary, #2E86AB);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.adr-trajet-body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px 20px;
    margin-bottom: 20px;
}

.adr-trajet-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.adr-trajet-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.adr-trajet-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.adr-trajet-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Search Form */
.adr-search-form {
    background: var(--adr-light, #F7F7F7);
    padding: 30px;
    border-radius: var(--adr-radius-lg, 16px);
    margin-bottom: 30px;
}

.adr-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.adr-search-actions {
    text-align: center;
}

/* Urgences */
.adr-urgences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.adr-urgence-card {
    background: #fff;
    border-radius: var(--adr-radius-lg, 16px);
    box-shadow: var(--adr-shadow, 0 2px 8px rgba(0, 0, 0, 0.1));
    overflow: hidden;
    border-left: 4px solid var(--adr-success, #C73E1D);
}

.adr-urgence-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.adr-urgence-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adr-urgence-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--adr-success, #C73E1D);
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.adr-urgence-content {
    padding: 20px;
}

.adr-urgence-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.adr-urgence-deadline {
    color: var(--adr-success, #C73E1D);
    font-weight: 500;
    margin-bottom: 10px;
}

/* FAQ */
.adr-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.adr-faq-item {
    background: #fff;
    border-radius: var(--adr-radius, 8px);
    margin-bottom: 10px;
    box-shadow: var(--adr-shadow, 0 2px 8px rgba(0, 0, 0, 0.1));
    overflow: hidden;
}

.adr-faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.adr-faq-question:hover {
    background: var(--adr-light, #F7F7F7);
}

.adr-faq-toggle {
    font-size: 20px;
    color: var(--adr-primary, #2E86AB);
    transition: transform 0.3s;
}

.adr-faq-item.active .adr-faq-toggle {
    transform: rotate(45deg);
}

.adr-faq-answer {
    display: none;
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
}

.adr-faq-item.active .adr-faq-answer {
    display: block;
}

/* Stats */
.adr-stats-section {
    background: linear-gradient(135deg, var(--adr-primary, #2E86AB), var(--adr-secondary, #A23B72));
    padding: 50px 20px;
    border-radius: var(--adr-radius-lg, 16px);
    text-align: center;
    color: #fff;
}

.adr-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.adr-stat-item {
    text-align: center;
}

.adr-stat-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.adr-stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Dashboard */
.adr-dashboard-member {
    max-width: 1000px;
    margin: 0 auto;
}

.adr-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.adr-dashboard-welcome h2 {
    margin: 0;
    color: var(--adr-primary, #2E86AB);
}

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

.adr-dashboard-stat {
    background: var(--adr-light, #F7F7F7);
    padding: 20px;
    border-radius: var(--adr-radius, 8px);
    text-align: center;
}

.adr-dashboard-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--adr-primary, #2E86AB);
}

.adr-dashboard-stat-label {
    color: #666;
    font-size: 14px;
}

/* Soutenir */
.adr-soutenir-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.adr-soutenir-section h2 {
    color: var(--adr-primary, #2E86AB);
    margin-bottom: 20px;
}

.adr-soutenir-amounts {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.adr-amount-btn {
    padding: 15px 30px;
    border: 2px solid var(--adr-primary, #2E86AB);
    border-radius: var(--adr-radius, 8px);
    background: #fff;
    color: var(--adr-primary, #2E86AB);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.adr-amount-btn:hover,
.adr-amount-btn.active {
    background: var(--adr-primary, #2E86AB);
    color: #fff;
}

.adr-amount-custom {
    width: 120px;
    text-align: center;
}

/* Notifications */
.adr-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 50px 15px 20px;
    border-radius: var(--adr-radius, 8px);
    box-shadow: var(--adr-shadow-lg, 0 4px 20px rgba(0, 0, 0, 0.15));
    transform: translateX(120%);
    transition: transform 0.3s;
    z-index: 9999;
}

.adr-notification.is-visible {
    transform: translateX(0);
}

.adr-notification-info {
    background: #e7f3ff;
    color: #004085;
}

.adr-notification-success {
    background: #d4edda;
    color: #155724;
}

.adr-notification-error {
    background: #f8d7da;
    color: #721c24;
}

.adr-notification-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
}

.adr-notification-close:hover {
    opacity: 1;
}

/* Error states */
.adr-field-error {
    border-color: #C73E1D !important;
}

.adr-error-message {
    color: #C73E1D;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Loading */
.adr-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--adr-primary, #2E86AB);
    border-radius: 50%;
    animation: adr-spin 1s linear infinite;
}

@keyframes adr-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CTA Box */
.adr-cta-box {
    background: linear-gradient(135deg, #f8f4f1 0%, #fff 100%);
    border: 1px solid #e8ddd5;
    border-radius: var(--adr-radius-lg, 16px);
    padding: 25px 30px;
    margin-bottom: 30px;
}

.adr-cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.adr-cta-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--adr-primary, #7a5e4f), var(--adr-accent, #d4895c));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.adr-cta-text {
    flex: 1;
    min-width: 200px;
}

.adr-cta-text h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: var(--adr-primary, #7a5e4f);
}

.adr-cta-text p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.adr-cta-action {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .adr-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .adr-cta-action {
        width: 100%;
    }

    .adr-cta-action .adr-btn {
        width: 100%;
    }
}

/* Adoptions */
.adr-adoptions-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.adr-adoptions-header {
    text-align: center;
    margin-bottom: 40px;
}

.adr-adoptions-header h2 {
    color: var(--adr-primary, #7a5e4f);
    margin-bottom: 10px;
}

.adr-adoptions-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.adr-adoptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.adr-adoption-card {
    background: #fff;
    border-radius: var(--adr-radius-lg, 16px);
    box-shadow: var(--adr-shadow, 0 2px 8px rgba(0, 0, 0, 0.1));
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.adr-adoption-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--adr-shadow-lg, 0 8px 25px rgba(0, 0, 0, 0.15));
}

.adr-adoption-card.adr-adoption-urgent {
    border-left: 4px solid #C73E1D;
}

.adr-adoption-image {
    position: relative;
    overflow: hidden;
    background: #f7f7f7;
    aspect-ratio: 4 / 3;
}

.adr-adoption-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s;
}

.adr-adoption-card:hover .adr-adoption-image img {
    transform: scale(1.05);
}

.adr-adoption-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f8f4f1 0%, #ebe3dc 100%);
}

.adr-adoption-placeholder .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    color: #d4c4b5;
}

/* Lightbox trigger */
.adr-lightbox-trigger {
    display: block;
    position: relative;
    cursor: zoom-in;
    height: 100%;
}

.adr-lightbox-trigger img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.adr-zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.adr-zoom-icon .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #7a5e4f;
}

.adr-lightbox-trigger:hover .adr-zoom-icon {
    opacity: 1;
}

/* Lightbox modal */
.adr-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.adr-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.adr-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.adr-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.adr-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 5px;
    z-index: 1;
}

.adr-lightbox-close .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
}

.adr-lightbox-close:hover {
    color: #d4895c;
}

#adr-lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.adr-lightbox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.adr-adoption-content {
    padding: 20px;
}

.adr-adoption-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--adr-primary, #7a5e4f);
}

.adr-adoption-deadline {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #C73E1D;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff5f5;
    border-radius: 6px;
}

.adr-adoption-deadline .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.adr-adoption-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.adr-adoption-meta .adr-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
    background: #f7f7f7;
    padding: 4px 10px;
    border-radius: 15px;
}

.adr-adoption-meta .adr-meta-item .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--adr-primary, #7a5e4f);
}

.adr-adoption-association {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.adr-adoption-association .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--adr-primary, #7a5e4f);
}

.adr-adoption-association a {
    color: var(--adr-primary, #7a5e4f);
    text-decoration: none;
}

.adr-adoption-association a:hover {
    text-decoration: underline;
}

.adr-adoption-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.adr-adoption-excerpt p {
    margin: 0;
}

.adr-adoption-actions {
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.adr-adoption-actions .adr-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.adr-adoption-actions .adr-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Modal */
.adr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.adr-modal.is-open {
    display: flex;
}

.adr-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.adr-modal-content {
    position: relative;
    background: #fff;
    border-radius: var(--adr-radius-lg, 16px);
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: adr-modal-appear 0.3s ease;
}

@keyframes adr-modal-appear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.adr-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #f8f4f1 0%, #fff 100%);
}

.adr-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--adr-primary, #7a5e4f);
}

.adr-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #999;
    transition: color 0.2s;
}

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

.adr-modal-close .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.adr-modal-body {
    padding: 25px;
}

.adr-modal-animal-info {
    text-align: center;
    font-size: 16px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f4f1;
    border-radius: 8px;
}

.adr-modal-animal-info strong {
    color: var(--adr-primary, #7a5e4f);
}

/* Modal active state */
.adr-modal.active {
    display: flex;
}

/* Modal FA header */
.adr-modal-header-fa {
    background: linear-gradient(135deg, #d4895c 0%, #7a5e4f 100%);
}

/* Scrollable form */
.adr-form-scrollable {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

/* Form sections */
.adr-form-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.adr-form-section h4 {
    margin: 0 0 15px 0;
    color: #7a5e4f;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

/* Radio groups */
.adr-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.adr-radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.2s;
}

.adr-radio-label:hover {
    border-color: #7a5e4f;
}

.adr-radio-label input[type="radio"] {
    margin: 0;
}

.adr-radio-label input[type="radio"]:checked + span {
    color: #7a5e4f;
    font-weight: 600;
}

.adr-radio-label:has(input:checked) {
    border-color: #7a5e4f;
    background: #fdf6f2;
}

/* Select styling */
.adr-form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--adr-gray, #ddd);
    border-radius: var(--adr-radius, 6px);
    font-size: 14px;
    background: #fff;
}

.adr-form-select:focus {
    outline: none;
    border-color: var(--adr-primary, #7a5e4f);
    box-shadow: 0 0 0 2px rgba(122, 94, 79, 0.1);
}

/* Important checkbox */
.adr-checkbox-important {
    background: #fff3cd;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #856404;
}

/* Adoptions CTA */
.adr-adoptions-cta {
    margin-top: 20px;
}

/* Button variants */
.adr-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--adr-radius, 8px);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.adr-btn-primary {
    background: var(--adr-primary, #7a5e4f);
    color: #fff;
}

.adr-btn-primary:hover {
    background: #5d4839;
    color: #fff;
}

.adr-btn-brown {
    background: #7a5e4f;
    color: #fff;
}

.adr-btn-brown:hover {
    background: #5d4839;
    color: #fff;
}

.adr-btn-lg {
    padding: 14px 30px;
    font-size: 16px;
}

.adr-btn-loading .adr-loading {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

/* Empty state */
.adr-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f7f7f7;
    border-radius: var(--adr-radius-lg, 16px);
}

.adr-empty-icon {
    margin-bottom: 20px;
}

.adr-empty-icon .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    color: #d4c4b5;
}

.adr-empty-state h3 {
    color: var(--adr-primary, #7a5e4f);
    margin-bottom: 10px;
}

.adr-empty-state p {
    color: #666;
    margin-bottom: 20px;
}

/* Urgence badge (reused from urgences) */
.adr-adoption-card .adr-urgence-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #C73E1D;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .adr-adoptions-grid {
        grid-template-columns: 1fr;
    }

    .adr-modal-content {
        max-height: 95vh;
        border-radius: 16px 16px 0 0;
        margin-top: auto;
    }

    .adr-modal {
        align-items: flex-end;
        padding: 0;
    }
}

/* Flatpickr customization */
.flatpickr-calendar {
    font-family: inherit;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #7a5e4f;
    border-color: #7a5e4f;
}

.flatpickr-day:hover {
    background: #f5ede8;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: #7a5e4f;
    color: #fff;
}

.flatpickr-current-month input.cur-year {
    color: #fff;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    fill: #fff;
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
    fill: #fff;
    opacity: 0.8;
}

/* Input with flatpickr */
.flatpickr-input.adr-form-input {
    cursor: pointer;
}

.flatpickr-input[readonly] {
    cursor: pointer;
    background: #fff;
}
