/* ================================
   보스키 화면 스타일
   Google 스타일 검색 화면
================================ */

.boss-key-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 99999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.boss-key-screen.hidden {
  display: none;
}

.boss-key-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.boss-key-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 15px 20px;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-link {
  color: rgba(0, 0, 0, 0.87);
  text-decoration: none;
  font-size: 13px;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.header-link:hover {
  background-color: rgba(60, 64, 67, 0.08);
  text-decoration: none;
}

.menu-icon,
.profile-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: transparent;
}

.profile-icon {
  background-color: #4285f4;
  color: white;
  font-size: 18px;
}

.boss-key-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-top: -100px;
}

.google-logo {
  margin-bottom: 30px;
}

.logo-text {
  font-size: 90px;
  font-weight: 400;
  font-family: 'Product Sans', Arial, sans-serif;
  letter-spacing: -2px;
}

.logo-blue { color: #4285f4; }
.logo-red { color: #ea4335; }
.logo-yellow { color: #fbbc05; }
.logo-green { color: #34a853; }

.search-container {
  width: 100%;
  max-width: 584px;
  margin-bottom: 30px;
}

.search-box-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  padding: 0 15px;
  height: 44px;
  box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
  transition: box-shadow 0.2s;
}

.search-box-wrapper:hover {
  box-shadow: 0 2px 8px 1px rgba(64, 60, 67, 0.28);
}

.search-box-wrapper:focus-within {
  box-shadow: 0 2px 8px 1px rgba(64, 60, 67, 0.28);
  border-color: transparent;
}

.search-icon {
  width: 20px;
  height: 20px;
  fill: #9aa0a6;
  margin-right: 13px;
}

.google-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.87);
  background: transparent;
}

.google-search-input::placeholder {
  color: rgba(0, 0, 0, 0.38);
}

.search-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mic-icon,
.camera-icon {
  width: 24px;
  height: 24px;
  fill: #4285f4;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.mic-icon:hover,
.camera-icon:hover {
  background-color: rgba(60, 64, 67, 0.08);
}

.search-buttons {
  display: flex;
  gap: 11px;
  margin-bottom: 30px;
}

.google-btn {
  background-color: #f8f9fa;
  border: 1px solid #f8f9fa;
  border-radius: 4px;
  color: #3c4043;
  font-size: 14px;
  padding: 11px 16px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: arial, sans-serif;
}

.google-btn:hover {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa;
  border: 1px solid #dadce0;
  color: #202124;
}

.google-btn:focus {
  border: 1px solid #4285f4;
  outline: none;
}

.google-offered {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.54);
}

.google-offered a {
  color: #1a0dab;
  text-decoration: none;
  margin-left: 5px;
}

.google-offered a:hover {
  text-decoration: underline;
}

.boss-key-footer {
  background: #f2f2f2;
  border-top: 1px solid #dadce0;
  padding: 0;
  margin-top: auto;
}

.footer-top {
  padding: 15px 30px;
  border-bottom: 1px solid #dadce0;
  color: rgba(0, 0, 0, 0.54);
  font-size: 15px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  flex-wrap: wrap;
}

.footer-left,
.footer-right {
  display: flex;
  gap: 27px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(0, 0, 0, 0.54);
  text-decoration: none;
  font-size: 14px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.boss-key-hint {
  text-align: center;
  padding: 10px;
  color: #4285f4;
  font-size: 12px;
  font-weight: 600;
}

/* 미디어 쿼리 */
@media (max-width: 768px) {
  .logo-text {
    font-size: 60px;
  }

  .search-container {
    max-width: 90%;
  }

  .search-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 584px;
  }

  .google-btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .footer-left,
  .footer-right {
    gap: 15px;
  }

  .boss-key-main {
    margin-top: -50px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 50px;
  }

  .search-box-wrapper {
    height: 40px;
    padding: 0 12px;
  }

  .google-search-input {
    font-size: 14px;
  }
}
