/* Base reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styles */
body {
  min-height: 100vh;
  background: linear-gradient(180deg, #d7e2ff 0%, #cdd9ff 40%, #c6d2ff 100%);
  font-family: Arial, sans-serif;
}

/* //////////////////////// Top right header //////////////////////////// */
.top-right {
  position: absolute;
  top: 16px;
  right: 18px;

  display: flex;
  align-items: center;
  gap: 14px;
}
/* ////////////////////////////////////////////////////////////////////// */
/* Links (Gmail / Images) */
.top-link {
  font-size: 13px;
  color: #1f1f1f;
  text-decoration: none;
}

.top-link:hover {
  text-decoration: underline;
}
/* ////////////////////////////////////////////////////////////////////// */
/* Small icon circle buttons */
.icon-circle {
  border: none;
  background: transparent;
  cursor: pointer;

  width: 34px;
  height: 34px;
  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-circle:hover {
  background: rgba(60, 64, 67, 0.12);
}

/* ////////////////////////////////////////////////////////////////////// */
/* Profile circle */
.profile-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: conic-gradient(
    from 310deg,
    #3070d8 0deg 90deg,
    #34a853 90deg 180deg,
    #fbbc05 180deg 270deg,
    #ea4335 270deg 360deg
  );
  padding: 2px;
  display: grid;
  place-items: center;
}

/* Profile image inside the ring */
.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* 9 Dots Icon */
.apps-text {
  font-size: 24px;
  line-height: 1;
  color: #646464;
  transform: translateY(-1px);
}

/* ////////////////////////////////////////////////////////////////////// */
/*  Main layout  */
.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 150px;
}

/* logo + search + shortcuts */
.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* ///////////////////////////// Google logo ////////////////////////// */
/* Google logo */
.google-logo {
  font-size: 98px;
  font-weight: 540;
  color: #4d7bf3;
  letter-spacing: -1px;
  margin: 0;
}
/* ///////////////////////////// Search bar //////////////////////////// */
/* Search bar */
.search-bar {
  width: 640px;
  height: 46px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 0 14px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.search-bar:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}
/* Material Icons */
.material-symbols-outlined {
  font-size: 20px;
  color: #353539;
  line-height: 1;
}

/* Left magnifier */
.search-icon {
  font-size: 20px;
  color: #5f6368;
}

/* Input */
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: #202124;
}

.search-input::placeholder {
  color: #707173;
  font-weight: 530;
}

/* Right actions */
.search-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Make the action buttons fit inside the bar */
.search-action {
  width: 32px;
  height: 32px;
}

.search-action:hover {
  background: rgba(60, 64, 67, 0.1);
}

/* AI Mode pill button */
.ai-mode {
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(60, 64, 67, 0.18);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.85);
  color: #3c4043;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ai-mode:hover {
  background: rgba(60, 64, 67, 0.12);
  border-color: rgba(60, 64, 67, 0.28);
}

/* ///////////////////////// Shortcuts row ////////////////////////// */
.shortcuts {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  margin-top: 6px;
}

/* Each shortcut */
.shortcut {
  width: 86px;
  text-decoration: none;
  color: #202124;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Circle icon (base) */
.shortcut-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(155, 145, 255, 0.35);
  display: grid;
  place-items: center;
}

/* Hover effect */
.shortcut:hover .shortcut-icon {
  background: rgba(60, 64, 67, 0.12);
}

/* Favicon image */
.shortcut-img {
  width: 22px;
  height: 22px;
  display: block;
}

/* Letter shortcuts */
/* Inner colored circle with letter */
.shortcut-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 0;
}

/* Specific colors (inner circle) */
.bg-gmail {
  background: #41a768;
}

.bg-floodlight {
  background: #6b7a00;
}

.bg-discord {
  background: #b72a2a;
}

.bg-amazon {
  background: #2f7d32;
}

.bg-yad2 {
  background: #5a6a7a;
}

/* Plus */
.shortcut-plus {
  font-size: 22px;
  color: #1f1f1f;
  line-height: 1;
}

/* Label under icon */
.shortcut-label {
  font-size: 12px;
  font-family: Arial, sans-serif;
  text-align: center;
  color: #1f1f1f;
  line-height: 1.2;
  max-width: 86px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ////////////////////////// Tabs list //////////////////////////// */
/* Tabs list */
.tabs-card {
  width: 720px;
  border-radius: 18px;
  padding: 14px 14px 10px;
  margin-top: 18px;
  background: rgba(155, 145, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Header */
.tabs-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 10px;
}

.tabs-card-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #1f1f1f;
}

/* menu button */
.tabs-menu {
  width: 32px;
  height: 32px;
}

/* List container */
.tabs-list {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 8px;
}

/* Each row */
.tab-item {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 10px;
  border-radius: 12px;

  text-decoration: none;
  color: inherit;
}

.tab-item:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* favicon square */
.tab-favicon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
}

.tab-img {
  width: 18px;
  height: 18px;
  display: block;
}

/* text */
.tab-title {
  font-size: 13px;
  font-weight: 600;
  color: #1f1f1f;
}

.tab-sub {
  font-size: 12px;
  color: rgba(31, 31, 31, 0.75);
  margin-top: 2px;
}

/* See more */
.tabs-see-more {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 600;
  color: #1f1f1f;
  text-decoration: none;
}

.tabs-see-more:hover {
  text-decoration: underline;
}
/* ////////////////////////////////////////////////////////////////////// */
