* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #eef2f5;
  color: #334;
  display: flex;
  flex-direction: column;
  height: 500px; 
  overflow: auto; 
}


header {
  background: #4a90e2;
  color: #fff;
  padding: 15px 20px;
  font-weight: 600;
  font-size: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.container {
  display: flex;
  flex: 1;
  height: 100%;
}


.sidebar {
  width: 40%;
  background: #ffffff;
  border-right: 2px solid #e0e0e0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

.sidebar input,
.sidebar textarea {
  margin-bottom: 10px;
  padding: 10px;
  width: 100%;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
}


button {
  background: #4a90e2;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #357ABD;
}


#searchInput {
  margin-bottom: 15px;
  padding: 10px;
  width: 100%;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
}


.content {
  width: 60%;
  background: #f8f9fb;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  overflow-y: auto;
  align-content: start;
}


.bookmark-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bookmark-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.bookmark-card a {
  font-weight: 600;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  margin-bottom: 5px;
}

.bookmark-card small {
  display: block;
  font-size: 12px;
  color: #777;
  margin-bottom: 5px;
}

.bookmark-card p {
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
}


.controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.controls button {
  background: none;
  color: #4a90d3;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 1;
}

