.paulspage {
    background: rgb(0, 0, 64);
    color: white;
    padding-bottom: 80px;
	padding-left: 20px;
}

.jumbotron {
    background: rgb(0, 0, 64);
    color: white;
    padding-bottom: 80px;
}

.jumbotron .btn-primary {
    background: rgb(128, 128, 128);
    border-color: rgb(192, 192, 192);
}

.jumbotron .btn-primary:hover {
    background: rgb(37, 37, 37);
}

.jumbotron p {
    color: #d9ccee;
    max-width: 75%;
    margin: 1em auto 2em;
}

.navbar + .jumbotron {
    margin-top: -20px;
}

.jumbotron .lang-logo {
    display: block;
    background: #B01302;
    border-radius: 50%;
    overflow: hidden;
    width: 200px;
    height: 200px;
    margin: auto;
    border: 2px solid white;
}

.jumbotron .lang-logo img {
    max-width: 100%;
}
.comedian_bio{
	background-color: rgb(88, 88, 88);
	text-align: left;
	padding: 30px;
	border-radius: 10px; 
	color: white;	
	margin-top: 20px; 
}

.backstory {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #333;
    background-color:#f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    max-width: 800px;
}

.input-txt {
	width: 100%;
	padding: 10px;
	margin: 10px 0;
	border-radius: 5px;
	border: 1px solid #ccc;
	color: #333;	
}

.signout-btn {
	margin-top: 10px;
}

.input-txt-sm {
	width: 25%;
	padding: 10px;
	margin: 10px 0;
	border-radius: 5px;
	border: 1px solid #ccc;
	color: #333;	
}

.input-select-txt {
	color: #333;
	font-size: 12px;
}

.input-btn {
	margin: 10px 0;
	border-radius: 5px;
	border: 1px solid #ccc;
	color: #333;
}

.stat-table-header {
 	background-color: #003366;
 	color: white;
 	padding: 12px;
 	text-align: center;
 	font-weight: bold;
 	text-transform: uppercase;
}

.table-container {
    width: 100%;
    margin: 20px auto;
    overflow-x: auto; /* Makes it scrollable on smaller screens */
}

/* Config Advisor page styles extracted from template to avoid Thymeleaf layout wiping inline <style> */
.advisor-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  margin: 8px 0;
}

.advisor-selected {
  border-color: #198754;
  box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.25);
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.new-advisor-card {
  border: 1px dashed #6c757d;
  border-radius: 8px;
  padding: 16px;
  background-color: #f8f9fa;
}

.advisor-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 12px;
  border: 1px solid #ddd;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #d9f1ff; /* Light blue background */
    font-family: Arial, sans-serif;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Table Header */
th {
    background-color: #003366; /* Dark royal blue */
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
}

/* Table Rows */
td {
    color: #003366; /* Dark royal blue text */
    padding: 10px;
    border-bottom: 1px solid #b3d9f5; /* Light border between rows */
}

/* Alternating Row Colors */
tr:nth-child(even) {
    background-color: #cceeff; /* Slightly darker blue for even rows */
}

/* Hover Effect */
tr:hover {
    background-color: #99ddff; /* Highlight row on hover */
}

/* Responsive Table */
@media (max-width: 600px) {
    th, td {
        padding: 8px;
        font-size: 14px;
    }
}

.regform {
	background-color:rgba(0, 128, 255, 0.75); /* 50% transparent */
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	margin-top: 200px;
}

.buttonbar{
	    position: fixed;
	    bottom: 0;
	    left: 0;
	    width: 100%;
		color: rgb(192, 192, 192);
	    background-color: 	rgb(0, 0, 0); /* Optional: background color */
	    padding: 5px; /* Optional: padding */
	    text-align: center; /* Optional: center-align content */
	    box-shadow: 0 -2px 5px 	rgba(0, 0, 0, 0.1); /* Optional: shadow for depth */
	    z-index: 1000; /* Ensures it stays above other elements */
}


.comedians-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.comedian-card {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.comedian-image {
    border-radius: 50%;
    margin-bottom: 10px;
}

.comedian-image-fav {
    border-radius: 50%;
    margin-bottom: 10px;
	border: 2px solid rgb(255, 255, 0);
		/* Blue border for favorite comedians */
		box-shadow: 0 2px 4px rgb(0, 0, 0);
		/* Subtle shadow for emphasis */
}

.comedian-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.comedian-detail {
   font-size: 1.0em;
    color: #333;
}

.card-body {
	padding: 10px;
	margin: 10px 0;
 }

 
 
 .btn-custom {
     background-color: 
 #2e8b57; /* Darker green */
     color: 
 #ffffff; /* White text */
     border: none;
     padding: 10px 20px;
     font-size: 16px;
     font-weight: bold;
     border-radius: 5px;
     box-shadow: 0 4px 6px 
 rgba(0, 0, 0, 0.2);
     transition: background-color 0.3s ease, transform 0.2s ease;
 }

 .btn-custom:hover {
     background-color: 
 #3cb371; /* Slightly lighter green */
     transform: translateY(-2px); /* Lift effect */
     cursor: pointer;
 }

 .btn-custom:active {
     background-color: 
 #2e8b57; /* Reset to original color */
     transform: translateY(0); /* Remove lift effect */
 }
 
 
 .input-select-txt,
 .btn-sm {
     height: 40px; /* Set a consistent height */
     padding: 5px 10px; /* Adjust padding for alignment */
     font-size: 14px; /* Ensure font size matches */
     line-height: 1.5; /* Adjust line height for vertical centering */
     border-radius: 4px; /* Add rounded corners for consistency */
     display: inline-block; /* Ensure proper alignment */
     vertical-align: middle; /* Align elements vertically */
 }
 
 
 .cool-home-link {
     display: inline-block;
     background-color: 
 #007bff; /* Blue background */
     color: 
 #ffffff; /* White text */
     padding: 10px 20px;
     font-size: 14px;
     font-weight: bold;
     text-decoration: none;
     border-radius: 5px;
     box-shadow: 0 4px 6px 
 rgba(0, 0, 0, 0.2);
     transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
 }

 .cool-home-link:hover {
     background-color: 
 #0056b3; /* Darker blue on hover */
     box-shadow: 0 6px 8px 
 rgba(0, 0, 0, 0.3);
     transform: translateY(-2px); /* Lift effect */
 }

 .cool-home-link span {
     margin-right: 8px; /* Add spacing between icon and text */
     vertical-align: middle; /* Align icon with text */
 }

 .redo-link {
     display: inline-block;
     background-color: 
 rgb(255, 255, 128); /* Blue background */
     color: 
 rgb(0, 0, 0); /* White text */
     padding: 5px 5px;
     font-size: 12px;
     font-weight: bold;
     text-decoration: none;
     border-radius: 5px;
     box-shadow: 0 4px 6px 
 rgba(0, 0, 0, 0.2);
     transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
 }

 .redo-link:hover {
     background-color: 
 rgb(255, 255, 0); /* Darker blue on hover */
     box-shadow: 0 6px 8px 
 rgba(0, 0, 0, 0.3);
     transform: translateY(-2px); /* Lift effect */
 }

 .pagination-container {
     text-align: center;
     margin: 20px 0;
 }

 .pagination-link {
     display: inline-block;
     background-color: 
 #007bff; /* Blue background */
     color: 
 #ffffff; /* White text */
     padding: 8px 16px;
     font-size: 14px;
     font-weight: bold;
     text-decoration: none;
     border-radius: 4px;
     margin: 0 5px;
     transition: background-color 0.3s ease, transform 0.2s ease;
 }
 .comedian-name{
	        font-size: 1.2em;
        font-weight: bold;
        color: #333;    
 }

 .pagination-link:hover {
     background-color: 
 #0056b3; /* Darker blue on hover */
     transform: translateY(-2px); /* Lift effect */
 }

 .pagination-text {
    font-size: 14px;
    font-weight: bold;
    margin: 0 10px;
	color: 	 #555555; /* Lighter neutral text color */
	text-shadow: 1px 1px 2px  rgba(0, 0, 0, 0.1); /* Subtle shadow for better visibility */
 }
 
.genderCode0{
	background-color: rgb(192, 192, 192);
}
 
.genderCode1{
 	background-color: rgb(128, 255, 255);
}
  
.genderCode2{
  	background-color: rgb(255, 128, 192);
}
   
.genderCode3{
	/* transistion from red to blue */
	background: linear-gradient(to right, rgb(128, 255, 255), rgb(255, 128, 192));
 }
 
 .comstats{
	background-color: rgb(196, 196, 196);
	text-align: left;
 }
 
 .notice{
	    width: 60%; /* Smaller size */
	    margin: 20px auto; /* Centered */
	    text-align: center; /* Center text */
	    font-family: 'Georgia', serif; /* Formal serif font */
	    font-size: 16px; /* Smaller font size */
	    color: 
	#333; /* Dark text for contrast */
	    background: linear-gradient(145deg, 
	#d6d6d6, 
	#f0f0f0); /* Stone-like gradient */
	    border: 1px solid 
	#aaa; /* Subtle border */
	    border-radius: 8px; /* Rounded corners */
	    box-shadow: inset 2px 2px 5px 
	#aaa, inset -2px -2px 5px 
	#fff; /* Engraved effect */
	    padding: 20px; /* Spacing inside the notice */
	    line-height: 1.5; /* Improve readability */
 }
 .noticetitle {
	font-size: 1.5rem; /* Adjust font size for better visibility */
	 margin: 0; /* Remove default margin */
	 padding: 5px; /* Add padding to prevent clipping */
	 white-space: nowrap; /* Prevent text wrapping */
	 overflow: visible; /* Ensure text is not hidden */
	 text-align: center; /* Center the text */
 } 
 
 .text-favorite {
	    color: 
	rgb(255, 255, 0); /* Dark text for contrast */
	
 }
 
 .comedian-name{
		font-size: 1.6em;
			font-weight: bold;
			color: rgb(128, 255, 255);
 }

 
.center-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 20px;
    margin: 0 auto;
}
.chart-container{
	align-items: center;
	justify-content: center;
    display: flex;
	height: 75vh;
}

.feeling-name{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.95em;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.08);
    max-width: 100%;
    white-space: normal;
}

.feeling-explanation{
    font-style: italic;
    font-size: 0.85em;
    color: #333;
    max-width: 100%;
    padding: 2px 6px 8px 6px;
    display: block;
    margin-top: 4px;
}  

.feelings-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 22px;
    margin-top: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
}

.feeling-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 200px;
  background: white;
  border: 2px solid #eee;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  position: relative;
}

.feeling-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: #ddd;
}

.feeling-item.selected {
  border-color: #007bff;
  background-color: #f0f7ff;
  box-shadow: 0 8px 24px rgba(0,123,255,0.15);
}

.feeling-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.feeling-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #f8f9fa;
  padding: 8px;
}

.feeling-name-title {
  font-weight: 700;
  font-size: 1.1em;
  color: #222;
  margin-bottom: 4px;
  display: block;
}

.large-textarea {
  width: 100%;
  max-width: 600px; /* Adjust as needed */
  min-width: 300px;
  min-height: 120px;
  box-sizing: border-box; /* Ensures padding is included in width */
}
.feeling-item-form {
  max-width: 900px; /* Ensure parent container is not too narrow */
  margin: 0 auto; /* Center the form */
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.6);
  border-radius: 10px;  
  margin-bottom: 14px;
  padding: 12px 10px 10px 10px;
}

.journal-section {
  max-width: 900px;
  margin: 8px auto 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,250,250,0.95));
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  padding: 12px 16px 16px 16px;
}
/* Feelings Config Master-Detail Layout */
.feelings-config-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 180px); /* Adjust based on header/navbar height */
    min-height: 500px;
}

.advisor-header-compact {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
    gap: 15px;
}

.advisor-header-compact img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ddd;
}

.advisor-header-compact .info h3 {
    margin: 0;
    font-size: 1.25rem;
}

.advisor-header-compact .info p {
    margin: 0;
    font-size: 0.875rem;
    color: #6c757d;
}

.feelings-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #fff;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    gap: 10px;
    flex-wrap: wrap;
}

.feelings-main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
}

.feelings-master-list {
    width: 30%;
    min-width: 250px;
    max-width: 350px;
    overflow-y: auto;
    background-color: #f1f3f5;
    border-right: 1px solid #dee2e6;
}

.feeling-thumbnail-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.2s;
    gap: 12px;
}

.feeling-thumbnail-item:hover {
    background-color: #e9ecef;
}

.feeling-thumbnail-item.active {
    background-color: #0d6efd;
    color: white;
}

.feeling-thumbnail-item.active .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.feeling-thumbnail-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #fff;
}

.feeling-thumbnail-item .details {
    flex: 1;
    overflow: hidden;
}

.feeling-thumbnail-item .details .name {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feelings-detail-pane {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #fff;
}

.feeling-detail-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.feeling-detail-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.large-feeling-img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.feeling-edit-grid {
    display: grid;
    gap: 15px;
}

/* Utility classes */
.transition-hover {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}


/* --- Shared Loading/Spinner Styles --- */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    text-align: center;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin-bottom: 20px;
}

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

.quote-box {
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    margin-top: 20px;
    padding: 0 20px;
}

/* --- Ad Fragment Styles --- */
.ad-outer {
    margin: 25px auto;
    border: 5px solid #000;
    border-radius: 15px;
    max-width: 95%;
    width: 480px;
    background-color: #fff;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    font-family: 'Arial Black', Gadget, sans-serif;
    position: relative;
}
.ad-header {
    background-color: #000;
    color: #ffeb3b;
    padding: 15px;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    border-bottom: 5px solid #ffeb3b;
}
.ad-image-container {
    width: 100%;
    border-bottom: 3px solid #000;
    line-height: 0;
    background-color: #f0f0f0;
}
.ad-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.ad-content {
    padding: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f1f1 100%);
}
.ad-product-name {
    margin: 0 0 15px 0;
    color: #ff5722;
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}
.ad-marquee-container {
    background: #1a1a1a;
    color: #00ff00;
    padding: 10px 0;
    margin: 0;
    border-bottom: 3px solid #000;
    overflow: hidden;
    position: relative;
    height: 40px;
}
.ad-ticker-wrapper {
    display: flex;
    width: fit-content;
    animation: ticker-scroll 25s linear infinite;
    will-change: transform;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ad-marquee-text {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    padding-right: 50px;
    white-space: nowrap;
}
.ad-button-container {
    margin-top: 30px;
}
.ad-visit-btn {
    display: inline-block;
    background: repeating-linear-gradient(45deg, #ffeb3b, #ffeb3b 10px, #ffd600 10px, #ffd600 20px);
    color: #000 !important;
    padding: 20px 50px;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none !important;
    text-transform: uppercase;
    box-shadow: 0 8px 0 #b28900, 0 15px 20px rgba(0,0,0,0.3);
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    border: 4px solid #000;
}
.ad-visit-btn:hover {
    background: repeating-linear-gradient(45deg, #fff176, #fff176 10px, #ffeb3b 10px, #ffeb3b 20px);
    transform: translateY(-2px);
    box-shadow: 0 10px 0 #b28900, 0 18px 25px rgba(0,0,0,0.3);
}
.ad-visit-btn:active {
    transform: translateY(6px);
    box-shadow: 0 2px 0 #b28900, 0 5px 10px rgba(0,0,0,0.3);
}

.ad-rotation-container {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    max-width: 600px;
    width: 100%;
}
.ad-item {
    display: none;
    animation: fadeIn 1s;
}
.ad-item.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.ad-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-style: italic;
}
.ad-company {
    font-weight: bold;
    color: #337ab7;
}

@media (max-width: 500px) {
    .ad-outer { width: 98%; margin: 15px auto; border-width: 3px; }
    .ad-product-name { font-size: 1.8rem; margin-bottom: 10px; }
    .ad-marquee-text { font-size: 1.2rem; padding-right: 30px; }
    .ad-visit-btn { font-size: 1.2rem; padding: 12px 25px; margin-top: 15px; border-width: 2px; }
    .ad-marquee-container { height: 35px; margin: 0; }
    .ad-image { max-height: 250px; }
    .ad-content { padding: 15px; }
}


/* Site Home Styles */
.responsive-image {
    max-width: 100%;
    height: auto;
}


