/* Windows 8 Start Screen - Authentic Metro UI */
.w8d-dashboard{
  background: #1e1e1e;
  min-height:100vh;
  font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
  color:#fff;
  overflow-x:hidden;
}

.w8d-start-screen{
  display:flex;
  flex-direction:column;
  min-height:100vh;
  background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
  position:relative;
}

/* Windows 8 Wallpaper Backgrounds */
.w8d-start-screen.wallpaper-purple{
  background: linear-gradient(135deg, #2d1b69 0%, #1a0f3d 100%);
}

.w8d-start-screen.wallpaper-blue{
  background: linear-gradient(135deg, #0f3b5f 0%, #071e30 100%);
}

.w8d-start-screen.wallpaper-teal{
  background: linear-gradient(135deg, #0d4d4a 0%, #062826 100%);
}

.w8d-start-screen.wallpaper-green{
  background: linear-gradient(135deg, #1e4620 0%, #0f2310 100%);
}

.w8d-start-screen.wallpaper-orange{
  background: linear-gradient(135deg, #5f2f0f 0%, #301808 100%);
}

.w8d-start-screen.wallpaper-red{
  background: linear-gradient(135deg, #5f0f0f 0%, #300808 100%);
}

.w8d-start-screen.wallpaper-dark{
  background: linear-gradient(135deg, #1e1e1e 0%, #0a0a0a 100%);
}

/* Original Windows 8 Background Images */
.w8d-start-screen.wallpaper-win8_flowers{
  background: #2d1b69 url('https://images.unsplash.com/photo-1490750967868-88aa4486c946?w=1920&q=80') center/cover fixed;
}

.w8d-start-screen.wallpaper-win8_abstract_purple{
  background: #1a0f3d;
  background-image: 
    radial-gradient(ellipse at 30% 20%, rgba(138, 43, 226, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(75, 0, 130, 0.4) 0%, transparent 50%),
    linear-gradient(135deg, #2d1b69 0%, #1a0f3d 100%);
}

.w8d-start-screen.wallpaper-win8_abstract_blue{
  background: #071e30;
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(0, 120, 215, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(27, 161, 226, 0.3) 0%, transparent 60%),
    linear-gradient(135deg, #0f3b5f 0%, #071e30 100%);
}

.w8d-start-screen.wallpaper-win8_geometric{
  background: #1a0f3d;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.02) 35px, rgba(255,255,255,.02) 70px),
    linear-gradient(135deg, #2d1b69 0%, #1a0f3d 100%);
}

.w8d-start-screen.wallpaper-win8_ribbons{
  background: #5f0f0f;
  background-image:
    linear-gradient(45deg, transparent 40%, rgba(255,255,255,.05) 40%, rgba(255,255,255,.05) 60%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, rgba(255,255,255,.03) 40%, rgba(255,255,255,.03) 60%, transparent 60%),
    linear-gradient(135deg, #5f0f0f 0%, #300808 100%);
  background-size: 80px 80px;
}

.w8d-start-screen.wallpaper-win8_bubbles{
  background: #0f3b5f;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,.08) 0%, transparent 25%),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.06) 0%, transparent 20%),
    radial-gradient(circle at 45% 75%, rgba(255,255,255,.07) 0%, transparent 30%),
    radial-gradient(circle at 75% 85%, rgba(255,255,255,.05) 0%, transparent 22%),
    radial-gradient(circle at 25% 60%, rgba(255,255,255,.06) 0%, transparent 18%),
    linear-gradient(135deg, #0f3b5f 0%, #071e30 100%);
}

.w8d-start-screen.wallpaper-win8_waves{
  background: #062826;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255,255,255,.03) 50px, rgba(255,255,255,.03) 100px),
    repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(255,255,255,.02) 50px, rgba(255,255,255,.02) 100px),
    linear-gradient(135deg, #0d4d4a 0%, #062826 100%);
}

.w8d-start-screen.wallpaper-win8_particles{
  background: #1e1e1e;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.05) 1px, transparent 1px),
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 60%, rgba(255,255,255,.06) 1px, transparent 1px),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.05) 1px, transparent 1px),
    radial-gradient(circle at 90% 70%, rgba(255,255,255,.04) 1px, transparent 1px),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(135deg, #1e1e1e 0%, #0a0a0a 100%);
  background-size: 200px 200px, 180px 180px, 220px 220px, 190px 190px, 210px 210px, 170px 170px, 100% 100%;
}

/* Wallpaper with pattern overlay */
.w8d-start-screen::before{
  content:'';
  position:absolute;
  inset:0;
  opacity:0.03;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 40%);
  pointer-events:none;
  z-index:0;
}

/* User Badge - Top Left Corner */
.w8d-user-badge{
  position:absolute;
  top:40px;
  left:40px;
  display:flex;
  align-items:center;
  gap:15px;
  z-index:100;
}
.w8d-user-badge img{
  border-radius:50%;
  border:3px solid #fff;
}
.w8d-user-name{
  font-size:24px;
  font-weight:300;
  color:#fff;
  text-shadow:0 2px 4px rgba(0,0,0,0.5);
}

/* Main Content Area */
.w8d-main-content{
  display:flex;
  gap:40px;
  padding:140px 40px 40px 40px;
  flex:1;
}

/* Tiles Section - Left Side */
.w8d-tiles-section{
  flex:1;
  max-width:900px;
}

.w8d-screen-title{
  font-size:42px;
  font-weight:200;
  margin:0 0 30px 0;
  color:#fff;
  letter-spacing:-1px;
}

/* Tiles Grid - Windows 8 Style */
.w8d-tiles-grid{
  display:grid;
  grid-template-columns:repeat(4, 150px);
  grid-auto-rows:150px;
  gap:10px;
}

/* Base Tile Styles */
.w8d-tile{
  background:#0078d7;
  color:#fff;
  text-decoration:none;
  position:relative;
  overflow:hidden;
  cursor:pointer;
  transition:transform 0.1s ease, opacity 0.1s ease;
  display:flex;
  align-items:flex-end;
  padding:15px;
  background-size:cover;
  background-position:center;
}

.w8d-tile:hover{
  transform:scale(1.05);
  opacity:0.9;
}

.w8d-tile:active{
  transform:scale(0.98);
}

/* Tile Sizes */
.w8d-tile-normal{
  grid-column:span 1;
  grid-row:span 1;
}

.w8d-tile-wide{
  grid-column:span 2;
  grid-row:span 1;
}

.w8d-tile-large{
  grid-column:span 2;
  grid-row:span 2;
}

/* Tile Content */
.w8d-tile-content{
  position:relative;
  z-index:2;
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:center;
  height:100%;
  text-align:center;
}

.w8d-tile-icon{
  font-size:48px;
  margin-bottom:10px;
  line-height:1;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

.w8d-tile-icon img{
  width:48px;
  height:48px;
  object-fit:contain;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

.w8d-tile-large .w8d-tile-icon{
  font-size:72px;
}

.w8d-tile-large .w8d-tile-icon img{
  width:72px;
  height:72px;
}

.w8d-tile-title{
  font-size:16px;
  font-weight:400;
  margin:0;
  text-shadow:0 1px 2px rgba(0,0,0,0.3);
  text-decoration:none;
}

.w8d-tile-desc{
  font-size:12px;
  opacity:0.9;
  margin-top:4px;
  text-shadow:0 1px 2px rgba(0,0,0,0.3);
}

/* Tasks Pane - Fixed Right Side */
.w8d-tasks-pane{
  width:340px;
  flex-shrink:0;
  position:sticky;
  top:140px;
  align-self:flex-start;
  max-height:calc(100vh - 180px);
}

.w8d-tasks-pane .w8d-tile{
  width:100%;
  height:auto;
  min-height:500px;
  display:block;
  cursor:default;
  padding:20px;
  background:#9f00a7;
}

.w8d-tasks-pane .w8d-tile:hover{
  transform:none;
  opacity:1;
}
/* Weather Tile - Beautiful Animated Design */
.w8d-weather{
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
  height:100%;
  padding:15px;
  position:relative;
}

/* Weather tile size variations */
.w8d-tile-normal .w8d-weather{
  padding:10px;
}
.w8d-tile-wide .w8d-weather{
  padding:12px;
}
.w8d-tile-large .w8d-weather{
  padding:20px;
}

/* Weather Header */
.weather-header{
  margin-bottom:15px;
}
.weather-header h3{
  margin:0;
  color:#fff;
  font-weight:300;
  font-size:16px;
  letter-spacing:1px;
  opacity:0.95;
}

/* Responsive header for tile sizes */
.w8d-tile-normal .weather-header{
  margin-bottom:8px;
}
.w8d-tile-normal .weather-header h3{
  font-size:12px;
}
.w8d-tile-wide .weather-header h3{
  font-size:14px;
}
.w8d-tile-large .weather-header h3{
  font-size:18px;
}

/* Weather Main Content */
.weather-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:15px;
  margin:15px 0;
}

/* Weather Icon with Animation */
.weather-icon{
  font-size:64px;
  line-height:1;
  animation:float 3s ease-in-out infinite;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.weather-icon img{
  width:80px;
  height:80px;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  animation:float 3s ease-in-out infinite;
}

/* Responsive weather icon for tile sizes */
.w8d-tile-normal .weather-icon{
  font-size:32px;
}
.w8d-tile-normal .weather-icon img{
  width:40px;
  height:40px;
}
.w8d-tile-wide .weather-icon{
  font-size:48px;
}
.w8d-tile-wide .weather-icon img{
  width:56px;
  height:56px;
}
.w8d-tile-large .weather-icon{
  font-size:72px;
}
.w8d-tile-large .weather-icon img{
  width:90px;
  height:90px;
}

/* Temperature Display */
.weather-temp-wrapper{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:8px;
}
.weather-temp{
  font-size:56px;
  font-weight:100;
  color:#fff;
  line-height:1;
  text-shadow:0 2px 10px rgba(0,0,0,0.3);
  font-family:'Segoe UI', sans-serif;
}
.weather-unit{
  font-size:24px;
  font-weight:300;
  opacity:0.8;
  margin-top:8px;
}

/* Responsive temperature for tile sizes */
.w8d-tile-normal .weather-temp{
  font-size:28px;
}
.w8d-tile-normal .weather-unit{
  font-size:14px;
  margin-top:4px;
}
.w8d-tile-wide .weather-temp{
  font-size:40px;
}
.w8d-tile-wide .weather-unit{
  font-size:18px;
  margin-top:6px;
}
.w8d-tile-large .weather-temp{
  font-size:64px;
}
.w8d-tile-large .weather-unit{
  font-size:28px;
  margin-top:10px;
}

/* Weather Description */
.weather-desc{
  opacity:0.9;
  text-transform:capitalize;
  font-size:16px;
  font-weight:300;
  letter-spacing:1px;
  margin-top:5px;
}

/* Responsive description for tile sizes */
.w8d-tile-normal .weather-desc{
  font-size:11px;
  margin-top:3px;
}
.w8d-tile-wide .weather-desc{
  font-size:13px;
  margin-top:4px;
}
.w8d-tile-large .weather-desc{
  font-size:18px;
  margin-top:8px;
}

/* Weather Details (for large tiles) */
.weather-details{
  display:none;
  justify-content:space-around;
  margin-top:15px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,0.2);
  width:100%;
}

/* Show weather details only on large tiles */
.w8d-tile-large .weather-details{
  display:flex;
}
.weather-detail{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
}
.weather-detail-label{
  font-size:11px;
  opacity:0.7;
  text-transform:uppercase;
  letter-spacing:1px;
}
.weather-detail-value{
  font-size:16px;
  font-weight:400;
}

/* Weather Actions */
.w8d-weather-actions{
  margin-top:15px;
}
.w8d-weather-actions button{
  background:rgba(255,255,255,0.15);
  border:1px solid rgba(255,255,255,0.3);
  color:#fff;
  padding:6px 14px;
  cursor:pointer;
  font-size:11px;
  border-radius:2px;
  transition:all 0.2s;
  text-transform:uppercase;
  letter-spacing:1px;
}
.w8d-weather-actions button:hover{
  background:rgba(255,255,255,0.25);
  border-color:rgba(255,255,255,0.5);
}

/* Hide change location button on small tiles */
.w8d-tile-normal .w8d-weather-actions{
  display:none;
}
.w8d-tile-wide .w8d-weather-actions button{
  font-size:10px;
  padding:5px 10px;
}
.w8d-tile-large .w8d-weather-actions button{
  font-size:12px;
  padding:8px 16px;
}

/* Weather Search */
.w8d-weather-search.hidden{
  display:none;
}
.w8d-weather-search input{
  width:100%;
  padding:10px;
  background:rgba(255,255,255,0.15);
  border:1px solid rgba(255,255,255,0.3);
  color:#fff;
  margin-top:10px;
  border-radius:2px;
  font-size:13px;
}
.w8d-weather-search input::placeholder{
  color:rgba(255,255,255,0.6);
}
.w8d-weather-search input:focus{
  outline:none;
  background:rgba(255,255,255,0.2);
  border-color:rgba(255,255,255,0.5);
}
#w8d-suggestions{
  margin-top:8px;
  max-height:150px;
  overflow-y:auto;
}
#w8d-suggestions .item{
  padding:10px;
  cursor:pointer;
  background:rgba(255,255,255,0.1);
  margin-bottom:4px;
  border-radius:2px;
  font-size:13px;
  transition:background 0.2s;
}
#w8d-suggestions .item:hover{
  background:rgba(255,255,255,0.25);
}

/* Weather Loading State */
.w8d-weather-loading{
  font-size:14px;
  opacity:0.8;
  animation:pulse 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes float{
  0%, 100%{transform:translateY(0px);}
  50%{transform:translateY(-10px);}
}
@keyframes pulse{
  0%, 100%{opacity:0.6;}
  50%{opacity:1;}
}

/* Tasks Tile */
.w8d-tasks-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:15px;
}
.w8d-tasks-header h3{
  margin:0;
  font-size:20px;
  font-weight:300;
}
.w8d-btn{
  border:none;
  background:rgba(255,255,255,0.25);
  color:#fff;
  padding:8px 14px;
  cursor:pointer;
  font-size:13px;
  font-weight:400;
  transition:background 0.2s;
}
.w8d-btn:hover{
  background:rgba(255,255,255,0.35);
}
.w8d-btn-outline{
  background:transparent;
  border:1px solid rgba(255,255,255,0.4);
}
.w8d-btn-outline:hover{
  background:rgba(255,255,255,0.15);
}
.w8d-tasks-list{
  max-height:calc(100vh - 320px);
  overflow-y:auto;
  padding-right:8px;
}
.w8d-task-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  background:rgba(255,255,255,0.1);
  margin-bottom:8px;
  border-radius:2px;
}
.w8d-task-item.done{
  opacity:0.5;
  text-decoration:line-through;
}
.w8d-task-time{
  font-weight:600;
  min-width:50px;
  font-size:13px;
}
.w8d-task-title{
  flex:1;
  font-size:14px;
}
.w8d-task-actions{
  display:flex;
  gap:4px;
}
.w8d-task-actions .mini{
  padding:4px 8px;
  font-size:11px;
}

/* Modal */
.w8d-modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.7);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}
.w8d-modal{
  background:#1e1e1e;
  color:#fff;
  padding:24px;
  width:340px;
  box-shadow:0 20px 60px rgba(0,0,0,0.8);
}
.w8d-modal h4{
  margin:0 0 16px 0;
  font-size:20px;
  font-weight:300;
}
.w8d-field{
  margin-bottom:12px;
}
.w8d-field label{
  font-size:13px;
  opacity:0.8;
  display:block;
  margin-bottom:6px;
}
.w8d-field input[type="text"],
.w8d-field input[type="date"],
.w8d-field input[type="time"]{
  width:100%;
  padding:10px;
  border:1px solid rgba(255,255,255,0.2);
  background:rgba(255,255,255,0.05);
  color:#fff;
  font-size:14px;
}
.w8d-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:20px;
}

/* Toast Notifications */
.w8d-toast-stack{
  position:fixed;
  right:20px;
  bottom:20px;
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:10000;
}
.w8d-toast{
  min-width:280px;
  background:#1e1e1e;
  color:#fff;
  padding:16px;
  box-shadow:0 10px 30px rgba(0,0,0,0.5);
}
.w8d-toast .title{
  font-weight:600;
  margin-bottom:8px;
  font-size:14px;
}
.w8d-toast .actions{
  display:flex;
  gap:8px;
  margin-top:12px;
  justify-content:flex-end;
}

/* Clock Styles - Modern Animated */
.w8d-clock{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  height:100%;
  padding:10px;
}

/* Digital Clock - Flip Animation Style */
.w8d-digital{
  text-align:center;
}
.w8d-digital .time{
  font-size:42px;
  font-weight:200;
  letter-spacing:4px;
  font-family:'Segoe UI', 'Helvetica Neue', sans-serif;
  text-shadow:0 0 20px rgba(255,255,255,0.5);
  animation:glow 2s ease-in-out infinite alternate;
}
.w8d-digital .date{
  font-size:14px;
  opacity:0.9;
  margin-top:10px;
  font-weight:300;
  letter-spacing:1px;
}
.w8d-digital .day{
  font-size:12px;
  opacity:0.7;
  margin-top:4px;
  text-transform:uppercase;
  letter-spacing:2px;
}

/* Modern Clock - Large Display */
.w8d-modern{
  text-align:center;
}
.w8d-modern .time{
  font-size:56px;
  font-weight:100;
  letter-spacing:6px;
  line-height:1;
  text-shadow:0 2px 10px rgba(0,0,0,0.3);
}
.w8d-modern .period{
  font-size:20px;
  opacity:0.8;
  margin-left:8px;
  vertical-align:super;
}
.w8d-modern .date{
  font-size:16px;
  opacity:0.85;
  margin-top:12px;
  font-weight:300;
}

/* Analog Clock - Beautiful Design */
.w8d-analog{
  width:120px;
  height:120px;
  margin:0 auto;
  position:relative;
}
.clock-face{
  width:100%;
  height:100%;
  border:3px solid rgba(255,255,255,0.3);
  border-radius:50%;
  position:relative;
  background:rgba(255,255,255,0.05);
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.1),
    inset 0 0 20px rgba(0,0,0,0.2);
}
.clock-face::before{
  content:'';
  position:absolute;
  width:8px;
  height:8px;
  background:#fff;
  border-radius:50%;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  z-index:10;
  box-shadow:0 0 10px rgba(255,255,255,0.8);
}
.clock-marks{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
}
.clock-mark{
  position:absolute;
  width:2px;
  height:8px;
  background:rgba(255,255,255,0.6);
  left:50%;
  transform-origin:center 60px;
  margin-left:-1px;
}
.clock-mark.major{
  height:12px;
  width:3px;
  background:rgba(255,255,255,0.9);
  margin-left:-1.5px;
}
.hand{
  position:absolute;
  top:50%;
  left:50%;
  transform-origin:0% 50%;
  background:#fff;
  border-radius:2px;
  box-shadow:0 0 8px rgba(0,0,0,0.5);
  transition:transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}
.hour-hand{
  width:35%;
  height:4px;
  background:#fff;
  z-index:3;
}
.min-hand{
  width:45%;
  height:3px;
  background:rgba(255,255,255,0.95);
  z-index:4;
}
.second-hand{
  width:50%;
  height:2px;
  background:#ff4444;
  z-index:5;
  transition:transform 0.05s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Classic Clock - With Numbers */
.w8d-classic .clock-face{
  border:4px solid rgba(255,255,255,0.4);
}
.clock-number{
  position:absolute;
  width:100%;
  height:100%;
  text-align:center;
  font-size:14px;
  font-weight:600;
  color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,0.5);
}

/* Glow Animation */
@keyframes glow{
  from{text-shadow:0 0 10px rgba(255,255,255,0.3);}
  to{text-shadow:0 0 20px rgba(255,255,255,0.6);}
}

/* Windows 8 Authentic Tile Colors & Patterns (from official Windows 8 image) */
/* Teal - Mail, Info tiles */
.w8d-tile[style*="#00aba9"]{
  background:#00aba9 !important;
  background-image:radial-gradient(circle at 20% 50%, rgba(255,255,255,.08) 0%, transparent 50%) !important;
}
/* Purple - Deep purple for messaging, maps */
.w8d-tile[style*="#a200ff"]{
  background:#a200ff !important;
  background-image:repeating-linear-gradient(135deg, transparent, transparent 12px, rgba(255,255,255,.04) 12px, rgba(255,255,255,.04) 24px) !important;
}
/* Dark Purple - Clock, primary tiles */
.w8d-tile[style*="#6a00ff"]{
  background:#6a00ff !important;
  background-image:radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 60%) !important;
}
/* Blue - Internet Explorer, SkyDrive */
.w8d-tile[style*="#0078d7"]{
  background:#0078d7 !important;
  background-image:repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,.05) 10px, rgba(255,255,255,.05) 20px) !important;
}
/* Light Blue - Weather */
.w8d-tile[style*="#1ba1e2"]{
  background:#1ba1e2 !important;
  background-image:radial-gradient(circle at 50% 50%, rgba(255,255,255,.1) 0%, transparent 70%) !important;
}
/* Green - Xbox, Store, Games */
.w8d-tile[style*="#008a00"]{
  background:#008a00 !important;
  background-image:repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(255,255,255,.06) 8px, rgba(255,255,255,.06) 16px) !important;
}
/* Bright Green - Accent tiles */
.w8d-tile[style*="#00a300"]{
  background:#00a300 !important;
  background-image:radial-gradient(circle at 30% 70%, rgba(255,255,255,.08) 0%, transparent 50%) !important;
}
/* Orange - Music, Media */
.w8d-tile[style*="#fa6800"]{
  background:#fa6800 !important;
  background-image:repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(255,255,255,.07) 15px, rgba(255,255,255,.07) 30px) !important;
}
/* Red - Important, Alerts */
.w8d-tile[style*="#e51400"]{
  background:#e51400 !important;
  background-image:radial-gradient(circle at 50% 50%, rgba(255,255,255,.1) 0%, transparent 70%) !important;
}
/* Magenta - Photos, Creative */
.w8d-tile[style*="#d80073"]{
  background:#d80073 !important;
  background-image:radial-gradient(circle at 30% 70%, rgba(255,255,255,.12) 0%, transparent 50%) !important;
}
/* Pink - Messaging */
.w8d-tile[style*="#e3008c"]{
  background:#e3008c !important;
  background-image:repeating-linear-gradient(135deg, transparent, transparent 12px, rgba(255,255,255,.05) 12px, rgba(255,255,255,.05) 24px) !important;
}

/* Responsive Design */
@media (max-width:1200px){
  .w8d-main-content{
    flex-direction:column;
  }
  .w8d-tasks-pane{
    width:100%;
    position:relative;
    top:0;
    max-height:none;
  }
  .w8d-tiles-grid{
    grid-template-columns:repeat(auto-fill, 150px);
  }
}

@media (max-width:768px){
  .w8d-tiles-grid{
    grid-template-columns:repeat(2, 150px);
  }
  .w8d-user-badge{
    top:20px;
    left:20px;
  }
  .w8d-main-content{
    padding:100px 20px 20px 20px;
  }
}
