/*
Theme Name: Smart Read Shelf
Theme URI: https://smartreadshelf.com/
Author: SS
Author URI: https://smartreadshelf.com/about
Description: AI-powered summarization theme for News, Articles, and Books. Supports live content feeds and summarization from files or pasted content.
Version: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smart-read-shelf
Tags: ai, summarization, blog, news, reader
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #111;
  color: #f2f2f2;
}

.top-nav {
  background: #000;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.nav-left img {
  height: 100px;
  width: auto;
}

.nav-right a {
  color: white;
  text-decoration: none;
  margin-left: 30px;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
}

.nav-right a:hover {
  color: #00ccff;
}

.container {
  padding: 20px;
}

.top-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: url('https://images.unsplash.com/photo-1532619187608-e5375cab36c9?fit=crop&w=1200&q=80') no-repeat center center;
  background-size: cover;
  padding: 30px;
  border-radius: 15px;
  color: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 30px;
}

.left-section {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
  color: #00ccff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.right-section {
  flex: 3;
  font-size: 16px;
  line-height: 1.7;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

.tabs {
  display: flex;
  border-bottom: 2px solid #333;
  margin-bottom: 15px;
  flex-wrap: wrap;
  padding-left: 20px;
}

.tab-link {
  padding: 10px 20px;
  cursor: pointer;
  background: #222;
  border: none;
  font-weight: 500;
  color: #eee;
  transition: background 0.2s;
}

.tab-link.active {
  background: #00ccff;
  color: #000;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tiles-container {
  overflow-x: auto;
  padding: 10px 0 10px 20px;
  scrollbar-width: thin;
}

.tiles-container::-webkit-scrollbar {
  height: 8px;
}

.tiles-container::-webkit-scrollbar-thumb {
  background: #00ccff;
  border-radius: 4px;
}

.slider {
  display: flex;
  flex-direction: row;
  gap: 15px;
  min-height: 120px;
  overflow-x: auto;
  flex-wrap: nowrap;
}

.feed-tile {
  flex: 0 0 auto;
  width: 280px;
  background: #1a1a1a;
  border: 2px solid #00ccff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 204, 255, 0.1);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  min-width: 260px;
}

.feed-tile:hover {
  transform: scale(1.02);
  box-shadow: 0 0 8px rgba(0, 204, 255, 0.4);
}

.feed-tile h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #00ccff;
}

.feed-tile p {
  font-size: 14px;
  color: #ccc;
  max-height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-tile .tile-spinner {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 14px;
  color: #00ccff;
  display: none;
}

.section {
  margin: 30px 0;
  background: #1c1c1c;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #00ccff;
}

textarea {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  background: #111;
  color: #f0f0f0;
  border: 1px solid #444;
  border-radius: 8px;
  margin-bottom: 15px;
  resize: vertical;
}

input[type="file"] {
  display: block;
  margin-bottom: 15px;
}

button {
  background: #00ccff;
  color: #000;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background: #00aacc;
}

#loader {
  margin-left: 15px;
  font-style: italic;
  color: #aaa;
  display: none;
}

.divider {
  margin: 20px 0;
  border-top: 1px dashed #444;
}

.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer {
  text-align: center;
  padding: 20px;
  background: #222;
  font-size: 14px;
  margin-top: 40px;
  color: #ccc;
}
.email-input {
  margin-top: 15px;
  text-align: left;
}

.email-input label {
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
  color: white; /* or your theme's text color */
}

.email-input input {
  padding: 10px;
  font-size: 14px;
  width: 100%;
  max-width: 300px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
/* === WordPress Menu Fix === */

.menu-items,
.menu-items li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-items {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: flex-end;
}

.menu-items li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
}

.menu-items li a:hover {
  color: #00ccff;
}
.menu-items li.highlight-lens a {
  border: 1px solid #00ccff;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
  color: white;
}

.menu-items li.highlight-lens a:hover {
  background: #00ccff;
  color: black;
}
