/* Basic styles for clarity/layout since we don't have your full CSS */
        body { font-family: 'Roboto', sans-serif; background-color: #f8f8f8;}
        .recipe-header {
			border-bottom: 2px solid #eee;
			padding-bottom: 10px;
			margin-bottom: 20px;
			position: relative;
			height: auto;
			display: contents;
		}
        .image-placeholder img { width: 100%;height: 200px; border-radius: 8px; margin-bottom: 20px; }
        .content-wrapper { display: flex; flex-wrap: wrap; gap: 30px; }
        .ingredients-section, .directions-section { flex: 1; min-width: 300px; }
        .ingredient-list { list-style: none; padding: 0;margin-top: 20px; }
        .ingredient-list li { border-bottom: 1px dotted #ccc; padding: 8px 0; font-size: 16px !important; }
        .direction-steps ol { padding-left: 20px; }
        .direction-steps li { margin-bottom: 15px; line-height: 1.5; font-size: 16px !important; }
        .tags-list span { display: inline-block; background-color: #d4a373; padding: 5px 10px; margin: 0 5px 5px 0; border-radius: 15px; font-weight: 700; color: #292929;text-shadow: 1px 1px #f2efeaa1;cursor: pointer; }
		.direction-steps {
				margin-top: 25px;
			}
			body {
				margin: 0;
				font-family: "Roboto", sans-serif;
				font-size: .9rem;
				font-weight: 400;
				line-height: 1.5;
				color: #495057;
				text-align: left;
				background: url(https://cdn.tamilbookshelf.in/flash/images/bg_down_menu.png) left top repeat;
			}
        /* Loader Styles */
        #page-loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.95);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s, visibility 0.5s;
        }

        .loader {
            border: 6px solid #f3f3f3;
            border-top: 6px solid #3498db;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loader-hidden {
            opacity: 0;
            visibility: hidden;
        }
#header .container::after {
    background: url('https://cdn.tamilbookshelf.in/flash/images/bg_top_carusel.png') 50% 0px no-repeat;
    min-height: 100px;
    bottom: -100px;
    width: 100%;
    position: absolute;
    content: '';
}

    .container {
        margin-left: auto !important;
        margin-right: auto !important;
    }
.subtitle {
    float: right;
}
.btn-outline-alternate.btn-shadow {
    box-shadow: 0 0.125rem 0.625rem rgba(121, 76, 138, 0.4), 0 0.0625rem 0.125rem rgba(121, 76, 138, 0.5) !important;
    border: 1px solid #421f11 !important;
}
.btn-outline-alternate:hover {
    background-color: #421f11 !important;
	border: 1px solid #421f11 !important;
	color: #ffd3bb;
}
.app-footer {
    background: #3e0903 !important;
    padding: 0 20px !important;
    border-top: #dcd2c4 solid 1px !important;
}
.app-footer ul>li>a {
    color: #dcd1c2 !important;
    text-shadow: 1px 1px #000;
}
.app-footer-right .badge-danger {
    background-color: #3e0903 !important;
}
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

.btn {
    position: relative;
    transition: color 0.15s, background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
h1, .h1 {
    font-size: 2.5rem;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.2;
    color: inherit;
}
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
}

*, *::before, *::after {
    box-sizing: border-box;
}
.card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
    background: #ffffff96;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #fff;
}
img {
    vertical-align: middle;
    border-style: none;
}
.fiori-container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    transition: all .2s;
    margin-right: auto;
    margin-left: auto;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #495057;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color 0.15s, background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
	text-decoration:none;
}
.bckz {
    margin-right: 5px;
}
#recipe-title {
    text-align: center;
}
 /* Footer Info */
        .info-text {
            margin-top: 20px;
            color: #666;
            text-align: center;
            font-size: 0.9rem;
        }
		/* Footer Styles */
		.simple-footer {
			background-color: var(--primary-bg);
			padding: 30px 0;
			border-top: 1px solid #f1f2f6;
			margin-top: 50px;
			font-family: 'Segoe UI', Roboto, sans-serif;
			margin-bottom: -25px;
			border-top: 1px solid rgba(255, 255, 255, 0.1);
			box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
		}

		.footer-container {
			max-width: 1100px;
			margin: 0 auto;
			padding: 0 20px;
		}

		.footer-content {
			display: flex;
			justify-content: space-between;
			align-items: center;
			flex-wrap: wrap;
			gap: 20px;
		}

		.footer-content p {
			margin: 0;
			color: #747d8c;
			font-size: 0.95rem;
		}

		.footer-links {
			list-style: none;
			display: flex;
			gap: 20px;
			margin: 0;
			padding: 0;
		}

		.footer-links li a {
			text-decoration: none;
			color: var(--accent-color);
			font-size: 0.9rem;
			font-weight: 500;
			transition: color 0.3s ease;
		}

		.footer-links li a:hover {
			color: var(--accent, #d92550); /* à®‰à®™à¯à®•à®³à¯ à®¤à®³à®¤à¯à®¤à®¿à®©à¯ à®ªà®¿à®°à®¤à®¾à®© à®¨à®¿à®±à®®à¯ */
		}

		/* Responsive Footer */
		@media (max-width: 768px) {
			.footer-content {
				flex-direction: column;
				text-align: center;
			}
			
			.footer-links {
				justify-content: center;
				gap: 15px;
			}
		}
		
		
/* 1. Base Layout Fix */
html, body {
    height: 100%;
    margin: 0;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    background-color: #f4f1ea;
}

/* 2. Header Navigation Fix */
/* Removed the 306px and 710px margins which caused the "hiding" issue */
.header-nav {
    margin-top: 0 !important; 
    width: 100% !important;
    position: relative; /* Change to 'fixed' if you want it to stay at the top while scrolling */
    z-index: 1000;
}

/* 3. Container Setup */
.container {
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px; /* Space between header and card */
    box-sizing: border-box;
}

/* 4. Footer stays at bottom */
.simple-footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto; /* Extra insurance for bottom placement */
}

/* 5. Responsive / Mobile View (All screens below 768px) */
@media (max-width: 768px) {
    .header-nav {
       margin-top: 174px;
    }

    .container {
        padding: 10px;
        align-items: center; /* Centers the card vertically in the available space */
    }

    .card-body.text-box {
        width: 100%;
        max-width: 95%;
        margin: 0 auto;
        padding: 15px;
    }
    
    /* Loader Fix */
    .loader-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255,255,255,0.9);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }
}
body {
    min-height: 150vh;
}
@media (max-width: 768px) {
	body {
		min-height: 310vh;
	}
}

