/* =====================================================================
   📧 Mail App
   ===================================================================== */
.mail-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  height: 100%;
}
.mail-content form {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mail-header {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 2px solid #ccc;
  flex-shrink: 0;
}
.mail-header label {
  font-weight: 500;
  margin-right: 8px;
  color: #000000;
  font-family: "VT323", monospace;
  font-size: 18px;
}
.mail-header input {
  flex-grow: 1;
  border: none;
  background: transparent;
  font-size: 18px;
  padding: 4px;
  font-family: "VT323", monospace;
}
.mail-header input:focus {
  outline: none;
}
.mail-body {
  flex-grow: 1;
  padding: 12px;
}
.mail-body textarea {
  width: 100%;
  height: 100%;
  border: none;
  resize: none;
  font-size: 18px;
  font-family: "VT323", monospace;
  box-sizing: border-box;
}
.mail-body textarea:focus {
  outline: none;
}
.mail-footer {
  padding: 10px 12px;
  border-top: 2px solid #ccc;
  display: flex;
  justify-content: flex-end; /* Pushes the button to the right */
  align-items: center;
  flex-shrink: 0;
}
.mail-footer button {
  font-family: "Pixelify Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 16px;
  border: 2px solid #000;
  background-color: #4a90e2;
  color: white;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
  transition: all 0.1s ease;
}
.mail-footer button:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

/* =====================================================================
     📁 Finder App
     ===================================================================== */
.finder-content {
  display: flex;
  padding: 0;
  height: 100%;
}
.finder-sidebar {
  width: 150px;
  background: #e0e0e0;
  padding: 10px;
  border-right: 2px solid #000;
  flex-shrink: 0;
}
.sidebar-item {
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}
.sidebar-item.active,
.sidebar-item:hover {
  background: #000;
  color: #fff;
}
.finder-main {
  flex-grow: 1;
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
}
.finder-icon {
  width: 80px;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.finder-icon span {
  display: block;
  font-size: 14px;
  margin-top: 6px;
  word-break: break-word;
}

/* =====================================================================
     🥚 Easter Egg App
     ===================================================================== */
.secret-content {
  font-family: monospace;
  white-space: pre;
  font-size: 12px;
  line-height: 1.2;
  overflow: auto;
  padding: 5px;
}
.secret-content .highlight {
  color: #32cd32;
  font-weight: bold;
}

/* =====================================================================
     🌐 Internet App
     ===================================================================== */
.internet-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 15px;
  text-align: center;
  background: #fff;
}
.snoogle-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.snoogle-header img {
  max-width: 350px;
  height: auto;
  margin-top: 20px;
}
#internetSearchForm {
  width: 100%;
  display: flex;
  justify-content: center;
}
#internetSearchInput {
  width: 90%;
  max-width: 320px;
  padding: 10px 15px;
  font-size: 16px;
  border: 2px solid #999;
  border-radius: 6px;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1);
}
.favourites-section {
  width: 100%;
  margin-top: 15px;
}
.favourites-title {
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 20px;
  text-align: left;
  color: #555;
  margin-left: 20px;
  font-family: "VT323", monospace;
}
.favourites-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}
.favourite-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #000;
  width: 70px;
  gap: 8px;
  transition: transform 0.2s ease;
}
.favourite-item img {
  border: 2px solid #000;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}
.favourite-label {
  font-size: 12px;
  font-weight: 600;
}

/* =====================================================================
     🍕 Coffee / Pizza App
     ===================================================================== */
.coffee-content {
  text-align: center;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.coffee-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.buy-me-a-pizza-button {
  border: 3px solid #000;
  background: #ffdd00; /* A nice yellow color */
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.9);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.1s ease;
  margin-bottom: 20px;
}
.buy-me-a-pizza-button a {
  font-family: "Pixelify Sans", "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  display: block;
}
.buy-me-a-pizza-button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.9);
}

/* =====================================================================
     🧮 Calculator App
     ===================================================================== */
#calculator {
  width: 250px;
}
#calculator .content {
  padding: 15px;
  background: #f0f0f0;
}
#calcDisplay {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px 0;
  padding: 10px 8px;
  font-size: 20px;
  text-align: right;
  border: 2px solid #999;
  border-radius: 4px;
  background: #fff;
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1);
}
#calculator .content > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
#calculator button {
  padding: 12px 0;
  font-size: 22px;
  font-weight: bold;
  border: 2px solid #333;
  border-radius: 6px;
  background: #f8f8f8;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
  font-family: "VT323", monospace;
}
#calculator button:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}
#calculator button[onclick*="calculate"] {
  background: #4a90e2;
  color: white;
  border-color: #2a6fc9;
}
#calculator button[onclick*="clearCalc"] {
  background: #ff6b6b;
  color: white;
  border-color: #e74c3c;
}

/* =====================================================================
     ⏰ Clock App
     ===================================================================== */
.big-clock-display {
  font-family: "VT323", monospace;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
  color: #000;
  padding: 20px 0;
}
