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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 500px;
  padding: 40px;
}

header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #667eea;
  padding-bottom: 20px;
}

header h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}

header .subtitle {
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.section {
  margin-bottom: 30px;
}

.section h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
}

.section p {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  margin-right: 10px;
  margin-top: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: #e0e0e0;
  color: #333;
}

.btn-secondary:hover {
  background: #d0d0d0;
}

.password-input-group {
  display: flex;
  gap: 10px;
}

.password-input-group input {
  flex: 1;
}

.btn-icon {
  padding: 10px 15px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s;
}

.btn-icon:hover {
  background: #efefef;
}

.empty-state {
  color: #999;
  text-align: center;
  padding: 20px;
  font-style: italic;
}

.passwords-list {
  max-height: 300px;
  overflow-y: auto;
}

footer {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  color: #999;
  font-size: 12px;
}

@media (max-width: 600px) {
  .container {
    padding: 20px;
  }
  
  header h1 {
    font-size: 24px;
  }
}

#setup-section {
  display: block;
}

#app-section {
  display: none;
}
