/* Table styling */
table {
    width: auto; /* Adjust width to content */
    max-width: 100%; /* Prevent overflow beyond the container */
    border-collapse: collapse;
    margin-bottom: 1rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    margin-left: 0; /* Center align the table horizontally */
}

th, td {
    padding: 0.75rem; /* Increase padding for more space */
    vertical-align: top;
    border: 1px solid #dee2e6;
    text-align: left; /* Align text to the left */
}

th {
    background-color: #f8f9fa; /* Add background color for headers */
    font-weight: bold;
}

/* Add responsive styling for small screens */
@media (max-width: 768px) {
    table {
        font-size: 0.9rem; /* Reduce font size for smaller screens */
    }
    th, td {
        padding: 0.5rem; /* Adjust padding for smaller screens */
    }
}

/* markdown */

.markdown-content {
    line-height: 1.6;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.markdown-content p {
    margin-bottom: 1em;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.markdown-content code:not(.hljs) {
    background-color: #f8f9fa;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

.markdown-content pre code {
    display: block;
    padding: 1em;
    overflow-x: auto;
}

.markdown-content blockquote {
    border-left: 4px solid #dee2e6;
    padding-left: 1em;
    margin-left: 0;
    margin-bottom: 1em;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
}

.markdown-content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1em;
}

.markdown-content table th,
.markdown-content table td {
    border: 1px solid #dee2e6;
    padding: 0.5em;
}

.markdown-content table th {
    background-color: #f8f9fa;
}

/* select 2 */

.select2-container--bootstrap-5 {
    width: 100% !important;
}

.select2-container--bootstrap-5 .select2-selection {
    min-height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0 6px;
    margin: 2px;
}



/* snowflake */

.snowflake {

  color: #fff;

  font-size: 1em;

  font-family: Arial, sans-serif;

  text-shadow: 0 0 5px #000;

}

 

.snowflake,.snowflake .inner{animation-iteration-count:infinite;animation-play-state:running}@keyframes snowflakes-fall{0%{transform:translateY(0)}100%{transform:translateY(110vh)}}@keyframes snowflakes-shake{0%,100%{transform:translateX(0)}50%{transform:translateX(80px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;user-select:none;cursor:default;animation-name:snowflakes-shake;animation-duration:3s;animation-timing-function:ease-in-out}.snowflake .inner{animation-duration:10s;animation-name:snowflakes-fall;animation-timing-function:linear}.snowflake:nth-of-type(0){left:1%;animation-delay:0s}.snowflake:nth-of-type(0) .inner{animation-delay:0s}.snowflake:first-of-type{left:10%;animation-delay:1s}.snowflake:first-of-type .inner,.snowflake:nth-of-type(8) .inner{animation-delay:1s}.snowflake:nth-of-type(2){left:20%;animation-delay:.5s}.snowflake:nth-of-type(2) .inner,.snowflake:nth-of-type(6) .inner{animation-delay:6s}.snowflake:nth-of-type(3){left:30%;animation-delay:2s}.snowflake:nth-of-type(11) .inner,.snowflake:nth-of-type(3) .inner{animation-delay:4s}.snowflake:nth-of-type(4){left:40%;animation-delay:2s}.snowflake:nth-of-type(10) .inner,.snowflake:nth-of-type(4) .inner{animation-delay:2s}.snowflake:nth-of-type(5){left:50%;animation-delay:3s}.snowflake:nth-of-type(5) .inner{animation-delay:8s}.snowflake:nth-of-type(6){left:60%;animation-delay:2s}.snowflake:nth-of-type(7){left:70%;animation-delay:1s}.snowflake:nth-of-type(7) .inner{animation-delay:2.5s}.snowflake:nth-of-type(8){left:80%;animation-delay:0s}.snowflake:nth-of-type(9){left:90%;animation-delay:1.5s}.snowflake:nth-of-type(9) .inner{animation-delay:3s}.snowflake:nth-of-type(10){left:25%;animation-delay:0s}.snowflake:nth-of-type(11){left:65%;animation-delay:2.5s}


/* random wolf */
.modal-content {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.modal-body {
    padding: 0;
}

#randomWolfImage {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 80vh;
    object-fit: contain;
}

/* Animation for the wolf image */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

#randomWolfImage {
    animation: fadeIn 0.3s ease-out;
}

/* gift */
.gift-button {
    padding: 1.2rem 2.5rem;
    font-size: 1.4rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4, #45B7D1, #96C93D, #FFD93D, #FF8E72);
    background-size: 300% 300%;
    /* animation: gradient-shift 3s ease infinite,
               float 3s ease-in-out infinite,
               glow 2s ease-in-out infinite; */
    transition: all 0.3s ease;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transform-style: preserve-3d;
}

.gift-button::before {
    content: '🎁';
    margin-right: 12px;
    font-size: 1.6rem;
    display: inline-block;
    /* animation: bounce 1s ease infinite; */
}

.gift-button:hover {
    transform: translateY(-5px) scale(1.05) rotate(-2deg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    animation: gradient-shift 2s ease infinite,
               wiggle 0.5s ease infinite,
               glow 1s ease-in-out infinite;
}

.celebration-container {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: appear 1s ease-out;
    position: relative;
    overflow: hidden;
    height: 300px !important;
}

.celebration-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4, #45B7D1, #FFD93D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* animation: bounce 2s ease infinite; */
    text-align: center;
    padding-top: 40px !important;
    margin-bottom: 1rem;
}

.sparkles {
    position: absolute;
    pointer-events: none;
    animation: sparkle 2s linear infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes wiggle {
    0%, 100% { transform: translateY(-5px) rotate(-2deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 6px 30px rgba(255,123,0,0.4); }
}

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

@keyframes sparkle {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    100% { transform: translate(100px, -100px) rotate(360deg); opacity: 0; }
}

.crown {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    /* animation: float 3s ease infinite; */
    filter: drop-shadow(0 0 10px gold);
}

.confetti {
    position: absolute;
    pointer-events: none;
    z-index: 1000;
    will-change: transform;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.confetti svg {
    width: 100%;
    height: 100%;
    display: block;
}

