/* General Styles */
.nihon-loader-tick-cross {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
}

/* Topic Container */
.nihon-loader-tick-cross .nihon-topic {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff; /* White background */
    color: #000000; /* Black text color */
    position: relative;
    overflow: hidden;
}

/* Background Icon */
.nihon-loader-tick-cross .nihon-topic .background-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%; /* 30% of the box width */
    height: auto;
    opacity: 0.2; /* 20% transparency */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
    z-index: 0;
}

/* Loader and Icon Container */
.nihon-loader-tick-cross .loader-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

/* Default Loader Animation */
.nihon-loader-tick-cross .loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db; /* Default loader color */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Loader Image */
.nihon-loader-tick-cross .custom-loader {
    width: 30px;
    height: 30px;
}

/* Result Icon (Tick or Cross) */
.nihon-loader-tick-cross .result {
    display: none;
    font-size: 32px; /* Larger font size */
    font-weight: bold; /* Bold font */
}

.nihon-loader-tick-cross .result[data-icon="tick"] {
    color: green; /* Green color for tick */
}

.nihon-loader-tick-cross .result[data-icon="cross"] {
    color: red; /* Red color for cross */
}

/* Title Styling */
.nihon-loader-tick-cross h3 {
    font-weight: bold;
    margin: 0;
    color: #000000; /* Black title color */
    font-size: 16px; /* Default title font size */
}

/* Content Styling */
.nihon-loader-tick-cross .content {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #000000; /* Black text color */
}

.nihon-loader-tick-cross .content p {
    margin: 0 0 10px 0; /* Add margin to paragraphs */
}

/* Button Container */
.nihon-loader-tick-cross .button-container {
    display: none;
    justify-content: flex-end;
    margin-top: 10px;
}

/* Button Styling */
.nihon-loader-tick-cross .nihon-button {
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    border: none;
    cursor: pointer;
    background-color: #3498db;
    transition: background-color 0.3s ease;
}

.nihon-loader-tick-cross .nihon-button:hover {
    background-color: #2980b9; /* Darker shade on hover */
}

.nihon-loader-tick-cross .nihon-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 600px) {
    .nihon-loader-tick-cross .nihon-topic {
        padding: 15px;
    }

    .nihon-loader-tick-cross h3 {
        font-size: 14px; /* Smaller font size on mobile */
    }

    .nihon-loader-tick-cross .content {
        font-size: 12px; /* Smaller font size on mobile */
    }

    .nihon-loader-tick-cross .nihon-button {
        padding: 8px 16px; /* Smaller button on mobile */
    }
}