/* Dog Name Generator - Professional CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Main Container */
#dog-name-generator {
    background-color: #F5F5F5;
    min-height: 100vh;
    padding: 20px 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    text-align: center;
    margin-bottom: 40px;
}

.site-header h1 {
    color: #055B6A;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.site-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Trending Names Section */
.trending-names-section {
    background: linear-gradient(135deg, #055B6A, #067A8A);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(5, 91, 106, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trending-header {
    text-align: center;
    margin-bottom: 20px;
}

.trending-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fire-icon {
    font-size: 1.6rem;
    animation: flicker 2s ease-in-out infinite alternate;
}

@keyframes flicker {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

.trending-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
}

.trending-names-container {
    position: relative;
}

.trending-names-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    padding: 5px 0 15px 0;
}

/* Remove scrollbar styles since we're no longer scrolling */
.trending-name {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    color: #055B6A;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    border: 2px solid transparent;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.trending-name:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: #055B6A;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.trending-name:active {
    transform: translateY(-1px) scale(1.02);
}

.trending-name.added-to-favorites {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    animation: addedPulse 0.6s ease;
}

@keyframes addedPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Filter Sections - Accordion Style */
.filter-section {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.filter-section:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Accordion Header */
.accordion-header {
    background: #055B6A;
    color: white;
    padding: 24px 28px;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background: #067A8A;
}

.accordion-header .icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

/* Accordion Content */
.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-content.active {
    padding: 24px;
    max-height: 1000px;
}

/* Radio Groups */
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

/* Special grid for name size - 4 columns in one row */
#size-buttons.radio-group {
    grid-template-columns: repeat(4, 1fr);
}

.radio-item {
    position: relative;
}

.radio-item input[type="radio"] {
    display: none;
}

.radio-label {
    display: block;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    user-select: none;
}

.radio-label:hover {
    border-color: #055B6A;
    background: #f0f8f6;
}

.radio-item input[type="radio"]:checked+.radio-label {
    background: #055B6A;
    color: white;
    border-color: #055B6A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 91, 106, 0.3);
}

/* Letters Grid */
.letters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
    gap: 8px;
    max-width: 100%;
}

.letter-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
    color: #055B6A;
}

.letter-btn:hover {
    border-color: #055B6A;
    background: #f0f8f6;
}

.letter-btn.active {
    background: #055B6A;
    color: white;
    border-color: #055B6A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 91, 106, 0.3);
}

/* Random Name Section */
.random-name-section {
    text-align: center;
    margin: 30px 0 20px 0;
}

.random-name-btn {
    background: linear-gradient(135deg, #055B6A, #067A8A);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 91, 106, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: inherit;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

.random-name-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.random-name-btn:hover::before {
    left: 100%;
}

.random-name-btn:hover {
    background: linear-gradient(135deg, #067A8A, #078A9A);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 91, 106, 0.4);
}

.random-name-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(5, 91, 106, 0.3);
}

.random-name-btn .btn-icon {
    font-size: 1.8rem;
    animation: bounce 2s infinite;
}

.random-name-btn .btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.random-name-btn .btn-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.random-name-btn .btn-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1;
}

.divider-text {
    margin: 20px 0 10px 0;
    position: relative;
    text-align: center;
}

.divider-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
    z-index: 1;
}

.divider-text span {
    background: #f9fafb;
    color: #9ca3af;
    padding: 0 16px;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-3px);
    }

    60% {
        transform: translateY(-2px);
    }
}

.random-name-btn.loading {
    pointer-events: none;
}

.random-name-btn.loading .btn-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Generate Section */
.generate-section {
    text-align: center;
    margin: 40px 0;
}

.generate-btn {
    background: #055B6A;
    color: white;
    border: none;
    padding: 20px 60px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 91, 106, 0.3);
}

.generate-btn:hover:not(:disabled) {
    background: #067A8A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 91, 106, 0.4);
}

.generate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Results Section */
.results {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

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

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

.back-to-suggested-btn {
    background: linear-gradient(135deg, #055B6A, #2c6e75);
    color: white;
    border: none;
    border-radius: 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(5, 91, 106, 0.25);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.back-to-suggested-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.back-to-suggested-btn:hover::before {
    left: 100%;
}

.back-to-suggested-btn:hover {
    background: linear-gradient(135deg, #2c6e75, #4a9d85);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(5, 91, 106, 0.35);
}

.back-to-suggested-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(5, 91, 106, 0.3);
    transition: all 0.1s ease;
}

.back-arrow {
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.back-to-suggested-btn:hover .back-arrow {
    transform: translateX(-2px);
}

.results-header h2 {
    color: #055B6A;
    font-size: 1.8rem;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    height: 100%;
}

.view-favorites-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.3);
    margin: 0;
    vertical-align: top;
    line-height: 1.1;
}

.view-favorites-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.4);
}

.view-favorites-btn:active {
    transform: translateY(0);
}

.results-header .meta {
    color: #666;
    font-size: 1.1rem;
}

/* Action Buttons */
.name-actions {
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

/* Download Dropdown Container */
.download-dropdown-container {
    position: relative;
    display: inline-block;
}

.download-dropdown-btn {
    background: #055B6A;
    color: white;
    border: none;
    padding: 22px 45px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(5, 91, 106, 0.3);
    min-width: 220px;
    justify-content: center;
}

.download-dropdown-btn:hover {
    background: #067A8A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 91, 106, 0.4);
}

.download-icon {
    font-size: 1.3rem;
}

.dropdown-arrow {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.download-dropdown-container.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.download-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.download-dropdown-container.active .download-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    color: #333;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #055B6A;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

.item-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Legacy button styles for backward compatibility */
.select-all-btn,
.clear-selected-btn,
.download-csv-btn {
    background: #055B6A;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    margin: 0;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    vertical-align: top;
    line-height: 1.1;
}

.select-all-btn:hover,
.clear-selected-btn:hover,
.download-csv-btn:hover {
    background: #067A8A;
    transform: translateY(-1px);
}

.clear-selected-btn {
    background: #dc3545;
}

.clear-selected-btn:hover {
    background: #c82333;
}

/* Export & Sharing Section */
.export-sharing-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.export-sharing-section h3 {
    color: #055B6A;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* Export PDF Container - Centered */
.export-pdf-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.export-pdf-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #055B6A, #2c6e75);
    box-shadow: 0 4px 10px rgba(5, 91, 106, 0.3);
    min-width: 180px;
}

.export-pdf-btn:hover {
    background: linear-gradient(135deg, #2c6e75, #4a9d85);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(5, 91, 106, 0.4);
}

.export-pdf-btn .icon {
    font-size: 1.2rem;
}

/* Social Divider Line */
.social-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 20px 0;
    position: relative;
}

.social-divider::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
}

/* Social Sharing Icons */
.social-sharing-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    padding: 0;
    margin: 0;
    overflow: hidden;
    flex-shrink: 0;
    min-width: 52px;
    min-height: 52px;
}

.social-icon i {
    line-height: 1;
    display: block;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook {
    background: linear-gradient(135deg, #3b5998, #2d4373);
}

.social-icon.facebook:hover {
    background: linear-gradient(135deg, #4267B2, #365899);
}

.social-icon.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-icon.twitter:hover {
    background: linear-gradient(135deg, #1991db, #1681c7);
}

.social-icon.whatsapp {
    background: linear-gradient(135deg, #25d366, #20b358);
}

.social-icon.whatsapp:hover {
    background: linear-gradient(135deg, #2ae371, #25d366);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #e4405f, #c13584, #833ab4);
}

.social-icon.instagram:hover {
    background: linear-gradient(135deg, #f56040, #e4405f, #c13584);
}

.social-icon.tiktok {
    background: linear-gradient(135deg, #000000, #333333);
}

.social-icon.tiktok:hover {
    background: linear-gradient(135deg, #333333, #555555);
}

/* Legacy button styles - keep for backward compatibility */
.export-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.share-facebook-btn,
.share-twitter-btn,
.share-whatsapp-btn,
.copy-clipboard-btn {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: white;
}

.share-facebook-btn {
    background: linear-gradient(135deg, #3b5998, #2d4373);
    box-shadow: 0 2px 5px rgba(59, 89, 152, 0.3);
}

.share-facebook-btn:hover {
    background: linear-gradient(135deg, #2d4373, #1e2e4f);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 89, 152, 0.4);
}

.share-twitter-btn {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    box-shadow: 0 2px 5px rgba(29, 161, 242, 0.3);
}

.share-twitter-btn:hover {
    background: linear-gradient(135deg, #0d8bd9, #0c7abf);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(29, 161, 242, 0.4);
}

.share-whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #1da851);
    box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3);
}

.share-whatsapp-btn:hover {
    background: linear-gradient(135deg, #1da851, #128c3d);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}

.copy-clipboard-btn {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    box-shadow: 0 2px 5px rgba(108, 117, 125, 0.3);
}

.copy-clipboard-btn:hover {
    background: linear-gradient(135deg, #5a6268, #454d55);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.4);
}

.export-buttons button .icon {
    font-size: 1.1rem;
}

/* Names Grid */
.names-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.name-item {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.name-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

/* Favorite-only items (no checkboxes) */
.name-item.favorite-only {
    cursor: default;
    justify-content: space-between;
}

.name-item.favorite-only:hover {
    background: #f8f9fa;
    transform: none;
}

/* Favorite Heart Styling */
.favorite-heart {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.6;
    margin-left: auto;
}

.favorite-heart:hover {
    transform: scale(1.2);
    opacity: 1;
}

.favorite-heart.favorited {
    opacity: 1;
    color: #e74c3c;
    animation: heartBeat 0.5s ease-in-out;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.name-text {
    flex: 1;
}

.name-item.selected {
    background: #055B6A !important;
    color: white !important;
    border-color: #055B6A !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 91, 106, 0.3) !important;
}

.name-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.name-item.selected .name-checkbox {
    background: white;
    border-color: white;
}

.name-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: -1px;
    left: 2px;
    color: #055B6A;
    font-weight: bold;
    font-size: 14px;
}

.name-item.selected .name-checkbox:checked::after {
    color: #055B6A;
}

.name-text {
    flex: 1;
    user-select: none;
}

/* No Favorites Message */
.no-favorites {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

.no-favorites p {
    margin: 0;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Load More */
.load-more-wrap {
    text-align: center;
    margin-top: 30px;
}

.load-more-btn {
    background: transparent;
    color: #055B6A;
    border: 2px solid #055B6A;
    padding: 12px 32px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.load-more-btn:hover:not(:disabled) {
    background: #055B6A;
    color: white;
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading Spinners */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff40;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

.spinner-small {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #055B6A40;
    border-top: 2px solid #055B6A;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 6px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #055B6A;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* Responsive Design */

/* Tablet Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .site-header h1 {
        font-size: 2rem;
    }

    /* Trending Names Mobile */
    .trending-names-section {
        padding: 20px;
        margin-bottom: 25px;
    }

    .trending-title {
        font-size: 1.2rem;
    }

    .trending-subtitle {
        font-size: 0.9rem;
    }

    .trending-names-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 8px;
    }

    .trending-name {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .radio-group {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }

    #size-buttons.radio-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .letters-grid {
        grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
        gap: 6px;
    }

    .letter-btn {
        padding: 10px 6px;
        font-size: 0.9rem;
    }

    .names-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }

    .accordion-content.active {
        padding: 20px;
    }

    .generate-btn {
        padding: 14px 36px;
        font-size: 1.1rem;
    }

    .random-name-btn {
        padding: 16px 30px;
        min-width: 260px;
        gap: 12px;
    }

    .random-name-btn .btn-title {
        font-size: 1.2rem;
    }

    .random-name-btn .btn-subtitle {
        font-size: 0.85rem;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    #dog-name-generator {
        padding: 10px 0;
    }

    .container {
        padding: 0 10px;
    }

    .site-header {
        margin-bottom: 30px;
    }

    .site-header h1 {
        font-size: 1.8rem;
    }

    .trending-names-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 6px;
    }

    .filter-section {
        margin-bottom: 15px;
        border-radius: 10px;
    }

    .accordion-header {
        padding: 15px 18px;
        font-size: 1rem;
    }

    .accordion-content.active {
        padding: 18px;
    }

    .radio-group {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    #size-buttons.radio-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .radio-label {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .letters-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 4px;
    }

    .letter-btn {
        padding: 8px 4px;
        font-size: 0.85rem;
    }

    .generate-btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 1.1rem;
    }

    .random-name-btn {
        padding: 14px 24px;
        min-width: 100%;
        gap: 10px;
    }

    .random-name-btn .btn-title {
        font-size: 1.1rem;
    }

    .random-name-btn .btn-subtitle {
        font-size: 0.8rem;
    }

    .names-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }

    .name-item {
        padding: 10px 12px;
        font-size: 0.9rem;
        gap: 8px;
    }

    .results {
        padding: 20px;
        border-radius: 10px;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .header-title-section {
        width: 100%;
        justify-content: flex-start;
    }

    .back-to-suggested-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .back-arrow {
        font-size: 1.4rem;
    }

    .results-header h2 {
        font-size: 1.4rem;
    }

    .header-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .view-favorites-btn {
        width: 100%;
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    .results-header h2 {
        font-size: 1.6rem;
    }

    .favorite-heart {
        font-size: 1rem;
        padding: 6px;
    }

    .select-all-btn,
    .clear-selected-btn,
    .download-csv-btn {
        width: 100%;
        margin: 0 0 10px 0;
        padding: 14px 20px;
    }

    /* Download Dropdown Mobile Styles */
    .download-dropdown-btn {
        padding: 20px 38px;
        font-size: 1.2rem;
        min-width: 200px;
        width: auto;
        border-radius: 3px;
    }

    .download-dropdown-menu {
        min-width: 200px;
        left: 50%;
        transform: translateX(-50%);
    }

    .dropdown-item {
        padding: 14px 18px;
        font-size: 1rem;
    }

    /* New Export Section Mobile Styles */
    .export-pdf-btn {
        padding: 14px 25px;
        font-size: 1rem;
        min-width: auto;
        width: auto;
    }

    .social-sharing-icons {
        gap: 12px;
        justify-content: center;
    }

    .social-icon {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
        border-radius: 50%;
        padding: 0;
        margin: 0;
        overflow: hidden;
        flex-shrink: 0;
    }

    /* Legacy Export Button Mobile Styles */
    .export-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .share-facebook-btn,
    .share-twitter-btn,
    .share-whatsapp-btn,
    .copy-clipboard-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .export-sharing-section h3 {
        font-size: 1.1rem;
    }

    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        transform: translateY(100px);
        opacity: 0;
    }

    .toast.show {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Small Mobile Styles */
@media (max-width: 360px) {
    .site-header h1 {
        font-size: 1.6rem;
    }

    .letters-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .names-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .accordion-header {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .accordion-content.active {
        padding: 15px;
    }

    .social-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        font-size: 1rem;
        border-radius: 50%;
    }

    .social-sharing-icons {
        gap: 10px;
    }
}

/* Animation for smooth accordion */
@keyframes slideDown {
    from {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    to {
        max-height: 1000px;
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

@keyframes slideUp {
    from {
        max-height: 1000px;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    to {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Focus states for accessibility */
.accordion-header:focus,
.radio-label:focus,
.letter-btn:focus,
.generate-btn:focus,
.name-item:focus {
    outline: 2px solid #055B6A;
    outline-offset: 2px;
}

/* Print styles */
@media print {

    .generate-section,
    .select-all-btn,
    .clear-selected-btn,
    .download-csv-btn,
    .load-more-wrap,
    .toast {
        display: none !important;
    }

    .filter-section {
        break-inside: avoid;
    }

    .accordion-content {
        max-height: none !important;
        padding: 20px !important;
    }
}

/* ======================================
   DOWNLOAD SUBSCRIPTION MODAL STYLES
   ====================================== */

/* Modal Overlay */
.subscription-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.subscription-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.subscription-modal {
    background: white;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(30px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.4s ease forwards;
}

.subscription-modal-overlay.active .subscription-modal {
    transform: scale(1) translateY(0);
}

@keyframes modalSlideIn {
    0% {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px 0 28px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 0;
}

.modal-title {
    color: #055B6A;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    max-width: 85%;
}

.modal-close {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #055B6A;
    flex-shrink: 0;
}

.modal-close:hover {
    color: #067A8A;
}

.close-icon {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 500;
}

/* Modal Body */
.modal-body {
    padding: 28px;
}

.modal-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 24px 0;
    text-align: center;
}

/* Subscription Form */
.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    color: #055B6A;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

.email-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
}

.email-input:focus {
    outline: none;
    border-color: #055B6A;
    background: white;
    box-shadow: 0 0 0 3px rgba(5, 91, 106, 0.1);
}

.email-input:invalid {
    border-color: #e74c3c;
}

.email-input:invalid:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
    min-height: 20px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-message.visible {
    opacity: 1;
}

/* Subscribe Button */
.subscribe-btn {
    background: linear-gradient(135deg, #055B6A, #067A8A);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #067A8A, #0891A1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 91, 106, 0.3);
}

.subscribe-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-text,
.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-loading .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Modal Footer */
.modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
}

.privacy-note {
    margin: 0;
    color: #888;
    font-size: 0.85rem;
    line-height: 1.4;
}

.privacy-note small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Responsive Modal Styles */
@media (max-width: 640px) {
    .subscription-modal-overlay {
        padding: 15px;
    }

    .subscription-modal {
        max-width: 100%;
        border-radius: 12px;
        max-height: 85vh;
    }

    .modal-header {
        padding: 20px 24px 0 24px;
        padding-bottom: 16px;
    }

    .modal-title {
        font-size: 1.2rem;
        max-width: 80%;
    }

    .modal-close {
        width: 32px;
        height: 32px;
    }

    .close-icon {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 24px;
    }

    .modal-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .email-input {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .subscribe-btn {
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 52px;
    }
}

@media (max-width: 480px) {
    .subscription-modal-overlay {
        padding: 10px;
    }

    .subscription-modal {
        border-radius: 10px;
        max-height: 80vh;
    }

    .modal-header {
        padding: 18px 20px 0 20px;
        padding-bottom: 14px;
    }

    .modal-title {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .modal-body {
        padding: 20px;
    }

    .subscription-form {
        gap: 18px;
    }

    .input-label {
        font-size: 0.9rem;
    }

    .email-input {
        padding: 12px;
        font-size: 0.9rem;
    }

    .subscribe-btn {
        padding: 12px 18px;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .privacy-note {
        font-size: 0.8rem;
    }
}

/* Modal Animation Effects */
.subscription-modal-overlay.closing {
    opacity: 0;
    visibility: hidden;
}

.subscription-modal-overlay.closing .subscription-modal {
    transform: scale(0.9) translateY(20px);
}

/* Success Animation */
.subscribe-btn.success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.subscribe-btn.success::after {
    content: '✓';
    position: absolute;
    font-size: 1.4rem;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ======================================
   DOG TAG PREVIEW SECTION
   ====================================== */

.dog-tag-preview-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 20px rgba(5, 91, 106, 0.1);
    border: 1px solid rgba(5, 91, 106, 0.1);
    animation: slideInUp 0.5s ease-out;
}

.preview-header {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
}

.close-preview-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #055B6A;
    font-size: 1.5rem;
    line-height: 1;
    transition: all 0.3s ease;
    font-weight: bold;
}

.close-preview-btn:hover {
    color: #067A8A;
    transform: scale(1.2);
}

.close-preview-btn .close-icon {
    font-weight: bold;
    line-height: 1;
}

.selected-name-info {
    margin-top: 8px;
}

.selected-name-info small {
    color: #667d89;
    font-size: 0.875rem;
}

#current-preview-name {
    font-weight: 600;
    color: #055B6A;
}

.preview-header h3 {
    color: #055B6A;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.preview-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Tag Style Selector */
.tag-styles-selector {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tag-style-btn {
    background: white;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 80px;
    color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tag-style-btn:hover {
    border-color: #055B6A;
    background: rgba(5, 91, 106, 0.05);
    color: #055B6A;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tag-style-btn.active {
    background: #055B6A;
    border-color: #055B6A;
    color: white;
    box-shadow: 0 4px 12px rgba(5, 91, 106, 0.3);
}

.tag-style-btn.active .style-icon,
.tag-style-btn.active .style-name {
    color: white;
}

.style-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.style-name {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tag Preview Container */
.tag-preview-container {
    text-align: center;
}

.dog-tag-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.dog-tag {
    position: relative;
    display: none;
 align-items: center;
    justify-content: center;
    margin: 0 auto;
    filter: drop-shadow(0 8px 16px rgba(5, 91, 106, 0.2));
    animation: tagAppear 0.6s ease-out;
}

.dog-tag.active {
    display: block;
}

/* Bone Tag */
.bone-tag {
    width: 200px;
    height: 120px;
    background: linear-gradient(145deg, #d4af37, #b8941f);
    border-radius: 50px;
    position: relative;
}

.bone-tag::before,
.bone-tag::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #d4af37, #b8941f);
    border-radius: 50%;
}

.bone-tag::before {
    top: -10px;
    left: -10px;
}

.bone-tag::after {
    top: -10px;
    right: -10px;
}

.bone-tag .tag-ring {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #c19b26;
    border-radius: 50%;
    border: 2px solid #a68521;
}

/* Round Tag */
.round-tag {
    width: 140px;
    height: 140px;
    background: linear-gradient(145deg, #c0c0c0, #a8a8a8);
    border-radius: 50%;
    position: relative;
}

.round-tag .tag-ring {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #909090;
    border-radius: 50%;
    border: 2px solid #808080;
}

/* Heart Tag */
.heart-tag {
    width: 140px;
    height: 140px;
     position: relative;
    margin: 0 auto;
    top: 0;
    left: 0;
}


.heart-tag::before {
    content: '';
    width: 140px;
    height: 140px;
    position: absolute;
    left: 50%;
   top: 17px; 
    background: linear-gradient(145deg, #ff6b9d, #e55a8a);
    border-radius: 50px 50px 0 0;
    transform: translateX(-50%) rotate(-45deg);
    transform-origin: 0 100%;
}

.heart-tag::after {
    content: '';
    width: 140px;
    height: 140px;
    position: absolute;
    left: 50%;
   top: 17px; 
    background: linear-gradient(145deg, #ff6b9d, #e55a8a);
    border-radius: 50px 50px 0 0;
    transform: translateX(-50%) rotate(45deg);
    transform-origin: 100% 100%;
}

.heart-tag .tag-ring {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #d94f7a;
    border-radius: 50%;
    border: 2px solid #c44570;
    z-index: 10;
}


/* Engraved Text */
.engraved-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #2c2c2c;
    font-family: 'Arial Black', Arial, sans-serif;
    font-weight: 900;
    text-align: center;
    text-shadow:
        1px 1px 0px rgba(255, 255, 255, 0.3),
        0px 1px 2px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    z-index: 5;
    user-select: none;
    line-height: 1;
}

.bone-tag .engraved-text {
    font-size: 18px;
    max-width: 160px;
}

.round-tag .engraved-text {
    font-size: 16px;
    max-width: 100px;
}


.heart-tag .engraved-text {
    position: absolute;
    top: 42%; 
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;

    font-size: 16px;
    max-width: 100px;
    color: white;
    text-shadow:
        1px 1px 0px rgba(0, 0, 0, 0.5),
        0px 1px 3px rgba(0, 0, 0, 0.8);
}

.tag-customizer {
    background: #ffffff;
    padding: 16px 18px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto 40px auto; 

    display: flex;
    gap: 16px;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;

    font-family: Arial, sans-serif;
}

.custom-field {
    flex: 1;
    min-width: 180px;
}


.custom-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}


.color-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.color-input-group input[type="text"] {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
}


input[type="range"] {
    width: 100%;
}


.range-value {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}


select {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
}


@media (max-width: 768px) {
    .tag-customizer {
        flex-direction: column;
        align-items: stretch;
    }

    .custom-field {
        width: 100%;
    }
}
/* Preview Actions */
.preview-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.share-tag-btn,
.save-tag-btn {
    background: #055B6A;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-tag-btn:hover {
    background: #067A8A;
    transform: translateY(-2px);
}

.save-tag-btn {
    background: #28a745;
}

.save-tag-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Tag Info Section */
.tag-info-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.tag-info-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.tag-info-card h4 {
    color: #055B6A;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    text-align: center;
}

.tag-explanations {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tag-explanation {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tag-explanation:hover {
    border-color: #055B6A;
    box-shadow: 0 2px 8px rgba(5, 91, 106, 0.1);
}

.tag-explanation .tag-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.tag-explanation strong {
    color: #055B6A;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.tag-explanation p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tagAppear {
    from {
        opacity: 0;
        transform: scale(0.8) rotateY(90deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .dog-tag-preview-section {
        padding: 20px 16px;
        margin: 16px 0;
    }

    .tag-styles-selector {
        gap: 8px;
    }

    .tag-style-btn {
        min-width: 70px;
        padding: 10px 12px;
    }

    .bone-tag {
        width: 160px;
        height: 96px;
    }

    .bone-tag .engraved-text {
        font-size: 14px;
        max-width: 130px;
    }

    .round-tag,
    .heart-tag {
        width: 110px;
        height: 110px;
    }

    .round-tag .engraved-text,
    .heart-tag .engraved-text {
        font-size: 13px;
        max-width: 80px;
    }

    .heart-tag::before,
    .heart-tag::after {
        width: 110px;
        height: 110px;
    }

    .preview-actions {
        flex-direction: column;
        align-items: center;
    }

    .share-tag-btn,
    .save-tag-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}