/* General page styling */
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  background: #0d0d0d;
  background-color: #000;
  color: #00C950;
  font-family: monospace;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 100vh;
}

/* Header */
header {
  background: #000;
  border-bottom: 1px solid #00C950;
  padding: 15px;
  text-align: center;
}
.header-container {
  position: relative;
  top: 0%;
  right: 41%;
}
header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #00C950;
}
header p {
  margin: 5px 0 0;
  color: #ccc;
  font-size: 1rem;
  position: relative;
  right: 1.1%;
}

/* Container for profile + terminal */
.container {
  flex: 1;                  /* take remaining height */
  display: flex;
  height: 100%;
  min-height: 0;            /* allow shrinking */
}

/* Left profile section */
.profile-container {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #00C950;
  padding: 20px;
  min-width: 220px;
  background: #000000;
  background: linear-gradient(335deg, #000 60%, #525151 100%);

}
.profile-container img {
  width: 90%;
  max-width: 250px;
  border: 2px solid #00C950;
  border-radius: 10px;
  
}
#last-login{
  font-size: 15px;
}

/*  Left Profile Section */
/* .profile-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
} */

.profile-pic {
  width: 180px;             /* Adjust size */
  height: 380px;
  border-radius: 50%;       /* Circle shape */
  object-fit: cover;
  border: 3px solid #333;   /* Dark border */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); /* Professional dark glow */
  filter: grayscale(10%) contrast(110%);   /* Subtle dark styling */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic:hover {
  transform: scale(1.05); 
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}




/* Terminal section */
#terminal {
  width: 70%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 280px;
  min-height: 0;            /* let child flex scroll */
  padding: 20px;
}

.starting-line{
  color: aliceblue;
  font-size: 20px;
}


/* Top hint line */
.middle-line {
  margin-bottom: 8px;
  border-bottom: 1px solid #00C950;
  padding-bottom: 6px;
}

/* Scrollable output area */
.terminal-output {
  flex: 1;                  /* take remaining space */
  overflow-y: auto;         /* enable scrolling */
  margin: 0;
  padding: 0 5px 0 0;       /* spacing for scrollbar */
}

/* Input line always visible at bottom */
.input-line {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

/* Lines */
.line {
  margin: 0;
  padding: 0;
}

/* Welcome Block Styling */
.welcome-block {
  margin-bottom: 15px;
  color: #00C950;
  font-size: 14px;
  line-height: 1.4rem;
}

.system-msg {
  color: #888; /* grey like linux "last login" */
  font-style: italic;
}
.highlight {
  color: #4caf50;
  font-weight: bold;
}
.command {
  color: #51A2FF; /* same family as prompt */
  font-weight: bold;
}

/* Prompt/typing */
.prompt {
  color: #51A2FF;
  font-weight: bold;
  display: inline;
}
#typedText {
  color: #00C950;
  display: inline;
}
#commandInput {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Output and errors */
.output {
  color: #ffffff;
  margin-left: 20px;
  margin-bottom: 10px;
  white-space: pre-line;
}
.error {
  color: #ff4c4c;
  font-weight: bold;
}

/* Blinking cursor effect */
.cursor {
  display: inline;
  animation: blink 1s step-start infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Bottom Status Bar */
.terminal-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 12px;
  color: #ccc;
  font-size: 12px;
  border-top: 1px solid #333;
  background: #0d0d0d;
}
.terminal-bottom .status-left {
  font-weight: bold;
  color: #4caf50;
}
.terminal-bottom .status-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-text {
  color: #4caf50;
}

/* Prevent layout shift from scrollbars */
* {
  box-sizing: border-box;
}
