/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f5f7fb;
  color: #333;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.header a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}


.tab {
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-btn {
  cursor: pointer;
  color: red;
  font-size: 12px;
}

.close-btn:hover {
  color: darkred;
}

/* Container */
.container {
  padding: 90px 20px 20px;
}

/* Cards */
.card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Apps Grid */
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.app {
  background: white;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
}

.app:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.app img {
  width: 50px;
  margin-bottom: 10px;
}

.app p {
  font-size: 14px;
  font-weight: 600;
}

/* Profile */
.profile {
  text-align: center;
}

.profile img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid #4facfe;
}

/* Buttons */
button {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border: none;
  padding: 12px;
  width: 100%;
  color: white;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}


.tab-btn {
  cursor: pointer;
  color: #4facfe;
  font-size: 12px;
}

.tab-btn:hover {
  color: #1d4ed8;
}


button:hover {
  opacity: 0.9;
}


.viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
  transition: opacity 0.2s;
}


/* Sidebar custom scrollbar */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: #111827;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #4facfe;
  border-radius: 3px;
}


/* Inputs */
input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
}

/* Login Box */
.login-box {
  max-width: 350px;
  margin: 100px auto;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    text-align: center;
  }
}