/* General Overrides */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
  max-height: 50px;
}

/* Header */
header h1 {
  color: #2c3e50;
}

header p.lead {
  color: #555;
}

/* Profile Image */
img.rounded-circle {
  border: 3px solid #dee2e6;
  width: 160px;
  height: 160px;
  object-fit: cover;
}

/* Responsive Image Scaling */
@media (max-width: 768px) {
  img.rounded-circle {
    width: 120px;
    height: 120px;
  }
}

/* Card Styling */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  padding: 1.5rem;
}

/* Section Titles */
.card h2 {
  font-size: 1.75rem;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}

/* Skills Table */
.table th, .table td {
  vertical-align: middle;
}

.table thead th {
  background-color: #343a40;
  color: white;
}

/* Lists */
ul {
  list-style-type: square;
  padding-left: 1.25rem;
}

ul li {
  margin-bottom: 0.5rem;
}

/* Form Inputs */
input, textarea {
  border-radius: 6px !important;
  border: 1px solid #ccc !important;
}

/* Footer */
footer.text-center {
  font-size: 0.9rem;
  background-color: #212529;
  color: #ccc;
}


/* Buttons */
.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  transition: background-color 0.2s ease-in-out;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}
/* --- MyPlayTray Carousel: mobile-friendly + no cropping --- */
#myplaytray-showcase .carousel { background:#0b0b0b; border-radius:.5rem; }
#myplaytray-showcase .carousel-inner { border-radius:.5rem; overflow:hidden; }

/* Responsive height: small phones → ~55–60% of screen; cap at 560px on large */
#myplaytray-showcase .carousel-item {
  height: clamp(220px, 58vh, 560px);
}

/* Show the whole screenshot (letterboxed if needed), centered */
#myplaytray-showcase .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* no cropping */
  object-position: center;
  background: #0b0b0b;        /* tidy letterbox bars */
}

/* Tighter captions/controls on small screens */
@media (max-width: 576px) {
  #myplaytray-showcase .carousel-caption {
    background: rgba(0,0,0,.55);
    padding: .35rem .5rem;
    font-size: .9rem;
    border-radius: .5rem;
  }
  .carousel-control-prev, .carousel-control-next { width: 12%; }
}

/* Slightly taller on tablets */
@media (min-width: 576px) and (max-width: 991.98px) {
  #myplaytray-showcase .carousel-item { height: min(65vh, 520px); }
}


/* Caption styling */
#myplaytray-showcase .carousel-caption {
  background: rgba(0,0,0,.55);
  border-radius: .5rem;
  padding: .5rem .75rem;
}

/* Thumbnails */
#myplaytray-showcase .thumb { cursor: zoom-in; background: #0b0b0b; padding: 6px; }
#myplaytray-showcase .figure-caption { font-size: .9rem; }

#deploy-logs .log-pre {
  background: #0b0b0b;       /* matches showcase */
  color: #e6e6e6;
  border-radius: .5rem;
  padding: 1rem;
  margin: 0;
  line-height: 1.35;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  white-space: pre-wrap;      /* keep long lines readable on mobile */
  word-break: break-word;
  max-height: 60vh;          /* scroll instead of making page 10 miles long */
  overflow: auto;
}


