/* Hide the post title and meta section for post ID 173 */
body.postid-173 .entry-header,
body.postid-173 .ast-post-format--single .entry-header,
body.postid-173 .ast-post-format--single .entry-title,
body.postid-173 .ast-post-format--single .ast-post-title,
body.postid-173 .ast-post-format--single .entry-meta,
body.postid-173 .ast-post-format--single .ast-single-post-order {
    display: none !important;
}

/* Ensure no extra space at the top after hiding the header */
body.postid-173 .ast-post-format--single .entry-content,
body.postid-173 .ast-post-format--single .ast-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Background gradient for the page */
body.postid-173 {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(45deg, #6b48ff, #ff6b6b, #48dbfb, #ffeb3b) !important;
    background-size: 400% 400% !important;
    animation: gradientAnimation 15s ease infinite !important;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.toolram-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Remove the white background, shadow, and border radius */
.toolram-container {
    background: transparent; /* Make the background transparent */
    border-radius: 0; /* Remove rounded corners */
    box-shadow: none; /* Remove shadow */
    padding: 30px;
    max-width: 700px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Update text colors for better contrast */
.header-section h2 {
    color: #ffffff; /* White for high contrast */
    font-size: 1.6em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Subtle shadow for readability */
}

.header-section p {
    color: #f5f5f5; /* Off-white for paragraph */
    font-size: 0.95em;
    margin-bottom: 25px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.title-section h1 {
    color: #ffffff; /* White for the main title */
    font-size: 2.2em;
    margin-bottom: 25px;
    background: linear-gradient(to right, #ffffff, #e0e0e0); /* Light gradient for title */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideIn 1s ease-in-out;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes slideIn {
    0% { transform: translateX(-20px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.checker-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-area h3 {
    color: #ffffff; /* White for section heading */
    font-size: 1.3em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.input-wrapper {
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

#passwordInput {
    width: 100%;
    padding: 10px 35px 10px 15px;
    font-size: 0.95em;
    border: 2px solid #ffffff; /* White border for visibility */
    border-radius: 25px;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    color: #ffffff; /* White text for input */
    box-sizing: border-box;
}

#passwordInput:focus {
    border-color: #48dbfb; /* Cyan border on focus */
    box-shadow: 0 0 8px rgba(72, 219, 251, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

#passwordInput::placeholder {
    color: #d0d0d0; /* Light gray placeholder text */
}

#togglePassword {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff; /* White icon */
    cursor: pointer;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

#togglePassword:hover {
    color: #48dbfb; /* Cyan on hover */
}

.strength-area {
    max-width: 100%;
    margin: 0 auto;
}

#strengthMeter {
    height: 10px;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent white for empty meter */
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
    transition: width 0.5s ease, background 0.5s ease;
}

.strength-info {
    color: #f5f5f5; /* Off-white for text */
    font-size: 0.9em;
    margin: 0;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.strength-info span {
    font-weight: 600;
    color: #48dbfb; /* Cyan for strength level */
}

.char-area {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    border-radius: 10px;
    padding: 12px;
    max-width: 100%;
    margin: 0 auto;
}

.char-info {
    color: #f5f5f5; /* Off-white for text */
    font-size: 0.85em;
    margin: 0;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.char-info span {
    font-weight: 600;
    color: #ff6b6b; /* Red for character counts */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .toolram-wrapper {
        padding: 15px;
    }

    .toolram-container {
        padding: 20px;
        max-width: 100%;
    }

    .header-section h2 {
        font-size: 1.4em;
    }

    .header-section p {
        font-size: 0.9em;
        margin-bottom: 20px;
    }

    .title-section h1 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .input-area h3 {
        font-size: 1.2em;
        margin-bottom: 12px;
    }

    #passwordInput {
        padding: 8px 30px 8px 12px;
        font-size: 0.9em;
    }

    #togglePassword {
        font-size: 1em;
    }

    .strength-info {
        font-size: 0.85em;
    }

    .char-info {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .toolram-wrapper {
        padding: 10px;
    }

    .toolram-container {
        padding: 15px;
    }

    .header-section h2 {
        font-size: 1.2em;
    }

    .header-section p {
        font-size: 0.85em;
        margin-bottom: 15px;
    }

    .title-section h1 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .input-area h3 {
        font-size: 1.1em;
        margin-bottom: 10px;
    }

    #passwordInput {
        padding: 7px 25px 7px 10px;
        font-size: 0.85em;
    }

    #togglePassword {
        font-size: 0.9em;
        right: 12px;
    }

    .strength-info {
        font-size: 0.8em;
    }

    .char-info {
        font-size: 0.75em;
    }

    .char-area {
        padding: 10px;
    }
}