/* å…¨å±€æ ·å¼ */
:root {
  --primary: #3b82f6;
  --primary-hover: #07BFB3;
  --background: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1 {
  text-align: center;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.description {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


.tab-header {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-secondary);
  position: relative;
  transition: all 0.2s ease;
  border-radius: var(--radius) var(--radius) 0 0;
  flex: 1;
  max-width: 200px;
}






@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.upload-box {
  border: 2px dashed var(--border-hover);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: rgba(226, 232, 240, 0.3);
}



.upload-box p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}



.password-input label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
}





.check-btn {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
}

.upload-box:hover {
  border-color: #007bff;
}
.file-select-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.file-select-btn:hover {
  opacity: 0.9;
}

.password-input {
  margin: 25px 0;
  max-width: 768px;
}


.password-input input {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.check-btn {
  background: #0077ff;
  color: white;
  padding: 12px 35px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.check-btn:hover {
  transform: translateY(-2px);
}

/* ç§»åŠ¨ç«¯ä¼˜å…ˆé€‚é…ç­–ç•¥ */
@media (max-width: 575.98px) {
  :root {
    --radius: 8px;
  }

  .container {
    padding: 0 12px !important;
    margin: 8px !important;
  }

  h1 {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem;
  }

  .tab-header {
    flex-wrap: wrap;
    gap: 4px;
  }

  .tab-btn {
    flex: 1 1 45%;
    font-size: 0.875rem !important;
    padding: 0.5rem !important;
    max-width: none !important;
  }

  .upload-box {
    padding: 1.5rem 0.5rem !important;
  }

  .upload-box i {
    font-size: 1.75rem !important;
  }

  .upload-box p {
    font-size: 0.875rem;
    margin: 0.5rem 0;
  }

  .file-select-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
  }

  .password-input input {
    padding: 0.75rem !important;
  }

  .check-btn {
    font-size: 0.875rem !important;
    padding: 0.875rem !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  :root {
    --radius: 10px;
  }

  .container {
    padding: 0 1.5rem !important;
  }

  .tab-btn {
    font-size: 0.9375rem !important;
    padding: 0.75rem 1rem !important;
  }

  .upload-box {
    padding: 2rem 1rem !important;
  }
}

@media (pointer: coarse) {
  .file-select-btn,
  .check-btn {
    min-height: 44px;
    padding: 12px 24px !important;
  }

  input[type="password"] {
    font-size: 16px;
    min-height: 44px;
  }
}

@media (max-width: 767.98px) and (orientation: landscape) {
  .container {
    max-width: 100vw;
    padding: 0 8px !important;
  }

  .tab-header {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .tab-btn {
    flex: 0 0 auto;
  }
}

@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
  .upload-box {
    border-width: 1.5px;
  }

  body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
}

@media (max-width: 767.98px) and (min-aspect-ratio: 3/4) {
  .container {
    max-width: 80%;
    margin: 1rem auto !important;
  }
}
#header {
    background-color: #52ABF8;
    height: 150px;
    width: auto;
}
#appicon-bg {
    box-shadow: 0 10px 29px rgba(0, 0, 0, .06);
    ;
    -webkit-transition: box-shadow 0.2s ease-in-out;
    -moz-transition: box-shadow 0.2s ease-in-out;
    -o-transition: box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out;
    width: 150px;
    height: 150px;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;
    border: none;
    background-color: #ffffff;
    padding: 15px;
    margin: auto;
    margin-top: -110px;
    margin-bottom: 30px;
}
.appicon {
    border: none;
    border-radius: 24px;
}
.devider.devider-dotted {
    border-top: 1px solid #e7ebed;
}
@media (max-width: 768px) {
    .pcshow {
        display: none;
    }
    a.btn-lg-default,
    a.btn-lg-default:hover,
    a.btn-lg-default:focus {
        background-color: #95a5a6 !important;
        border-color: #95a5a6;
    }
    span.tryAgain {
        top: -16px;
    }
    table.app_view_history>tbody>tr>td:first-child {
        padding-right: 15px;
        text-align: right;
        width: 53% !important;
    }
}
.nav-pills {
    margin-bottom: 0px;
    background-color: #52ABF8;
}
.nav-pills>li>a {
    color: white;
}
@media (min-width:768px) {
    .container {
        width: 768px
    }
}
@media (max-width:768px) {
    .container {
        width: auto
    }
}