




*{
    margin: 0;
    padding: 0;
    
}

body{
  cursor: default;
}

/* NAVIGATION BAR STYLES MANAUL CODE 782010*/

:root{
    --primary-color: #20183b;
    --primaryhover: #007bef;
    --test: red;

}

nav{
    background-color: #fffdfd;
    color: white;
    zoom: 80%;

    height: 80px;


    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.logo1{
    width: 50px;
    margin: 0px;

    position: relative;
    top:15px;
    left: 20px;
}

.logotitle1{
    width: 200px;
    margin: 0px;

    position: relative;
    top: 12px;
    left: 20px;
   
}

.nav-links{
    float: right;
    margin-right: 30px;
    margin-top: 0px;
    background-color: transparent;
    height: auto;

    width: 160px;
    
    text-align: center;

    position: relative;
    bottom: 30px;

}

.nav-links a{
    text-decoration: none;
    color: var(--primary-color);

    font-size: 30px;
}

.nav-links a:hover{
    color: var(--primaryhover);

    
    
    transition: 0.4s;
}

/* FOOTER STYLES */

.footer{
    background-color: white;
    height: 40px;
    width: 100%;

    margin-top: auto;
    text-align: center;
    color: white;

    position: fixed;
    bottom: 0;
    left: 0;
    ;
    box-shadow: 4px 0px 10px rgba(0, 0, 0, 0.1);

 
}


.nav-logoimg-footer{

    float: left;

}

.logo1-footer {
    width: 40px;
}

 .logotitle1-footer{
    width: 150px;
    position: relative;
    bottom: 4px;
 }

 .signature{
    float: right;
    color: black;

    position: relative;
    bottom: -10px;
    margin-right: 20px;
 }

 @media (max-width: 440px) {  

    body{

        zoom: 80%;
   
    }

    nav{
        zoom: 70px;
    }

    .btn-about{
        zoom: 80%;
        right: 20px !important;
    }
 
 


 }



 /* STYLE --- GRAPH */
 
 body{
  margin:0;
  background:#f4f6ff;
  font-family:Arial, Helvetica, sans-serif;
}
header{
  background:#4f46e5;
  color:#fff;
  padding:20px;
  text-align:center;
}
.container{
  max-width:900px;
  margin:30px auto;
  padding:20px;
  display:grid;
  grid-template-columns:1fr; /* single column for vertical layout */
  gap:20px;
}
.card{
  background:#fff;
  padding:20px;
  border-radius:12px;
  box-shadow:0 10px 20px rgba(0,0,0,0.1);
 
}
label{
  display:block;
  margin-top:10px;
  font-size:14px;
}
input, select, button{
  width:100%;
  padding:8px;
  margin-top:6px;
  border-radius:6px;
  border:1px solid #ccc;
  box-sizing:border-box;
}
table{
  width:100%;
  border-collapse:collapse;
  margin-top:12px;
}
th, td{
  border:1px solid #ddd;
  padding:8px;
  text-align:center;
}
th{ background:#eef; }
button{
  background:#4f46e5;
  color:#fff;
  border:none;
  margin-top:10px;
  cursor:pointer;
  transition: background 0.2s;
}
button:hover{
  background:#3730a3;
}
button.secondary{
  background:#ddd;
  color:#000;
}
canvas{
  width:100% !important;
  height: 400px !important;
  background:#fff;
  border-radius:6px;
}

.download-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:15px;
}
footer{
  text-align:center;
  font-size:13px;
  margin-top:15px;
  padding-bottom:30px;
}

/* RESPONSIVE */
@media(max-width:500px){
  canvas{
    height: 300px !important;
    /* width: 120% !important; */
    
    
  }
  table, th, td{
    font-size:12px;
  }
}



.card{
  zoom: 125%;
}


html{
    scroll-behavior: smooth;
   
}


/* app title */


/* APP TITLE – CLEAN VERSION */
.app-title{
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 20px;
  margin: 25px auto 35px auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  max-width: 900px;
}

/* ICON LOGO */
.app-title img:first-child{
  width: 48px;
  margin-bottom: 6px;
}

/* TEXT LOGO */
.app-title img:nth-child(2){
  width: 200px;
  margin-bottom: 10px;
}

/* TAGLINE */
.app-title h2{
  font-size: 17px;
  font-weight: 500;
  color: #555;
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* RESPONSIVE */
@media(max-width:600px){
  .app-title{
    padding: 22px 15px;
    margin: 18px 10px 28px 10px;
  }

  .app-title img:nth-child(2){
    width: 170px;
  }

  .app-title h2{
    font-size: 15px;
  }
}



/* FEEDBACK SECTION WRAPPER */
.feedback-wrapper{
  margin: 50px 0 40px;
  padding: 35px 0;


}

/* FEEDBACK CONTENT */
.feedback-section{
  max-width: 520px;
  margin: 0 auto;
  padding: 22px 24px;

  text-align: center;
  background: #ffffff;

  border-radius: 18px;
  border: 1px solid #e5e8ff;

  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}

/* TEXT */
.feedback-line{
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.feedback-subline{
  font-size: 14px;
  color: #666;
  margin: 6px 0 14px;
}

/* BUTTON */
.btn-feedback{
  background: #4f46e5;
  color: #fff;
  border: none;

  padding: 10px 22px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-feedback:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(79,70,229,0.35);
}

/* MOBILE */
@media(max-width:600px){
  .feedback-wrapper{
    margin: 40px 0 30px;
  }

  .feedback-section{
    margin: 0 14px;
  }
}


/* devicewidth */

/* HIDE BY DEFAULT */
.divicesize{
  display: none;
}

.devicesize{
  display: none;
}
/* VERY SMALL DEVICES */
@media (max-width: 410px){
  .divicesize{
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9999;

    background: #ffffff;

    align-items: center;
    justify-content: center;
    text-align: center;
  }

   .divicesize h1{
    zoom: 80%;
   }

   .divicesize p{

    zoom: 120%;
    color: black;
    font-weight: bolder;

   }

  .device-box{
    padding: 20px;
  }

  .logo1-device{
    width: 175px;
    margin-bottom: 8px;
  }

  .logotitle1-device{
    width: 380px;
    margin-bottom: 12px;
  }

  .divicesize p{
    font-size: 14px;
    color: #555;
    margin: 4px 0;
  }

.back-device{
  background-color: var(--primary-color);
  padding: 10px 18px;
  border-radius: 15px;
  font-size: 15px;
  color: white;
  text-decoration: none;

  position: fixed;
  bottom: 50px;        /* distance from bottom */
  /* left: 50%; */

  text-align: center;
  transform: translateX(-50%);

  z-index: 10000;
  zoom: 120%;

  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Optional hover effect */
.back-device:hover{
  opacity: 0.9;
}

  /* OPTIONAL: hide main content */
  body > *:not(.divicesize){
    display: none !important;
  }
}

/* Import/Export Button Styles */
.import-export-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
  padding: 15px;
  background: #f8f9ff;
  border-radius: 10px;
  border: 2px solid #4f46e5;
}

.file-import-group, .export-group {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.import-btn, .export-btn {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
  justify-content: center;
}

.import-btn {
  background: #4f46e5;
  color: white;
}

.import-btn:hover {
  background: #3730a3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.export-btn {
  background: white;
  color: #4f46e5;
  border: 2px solid #4f46e5;
}

.export-btn:hover {
  background: #4f46e5;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.2);
}

.status-message {
  padding: 12px 15px;
  margin: 15px 0;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.status-message.success {
  display: block;
  background: #e7f7ef;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.status-message.error {
  display: block;
  background: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

.status-message.info {
  display: block;
  background: #cff4fc;
  color: #055160;
  border: 1px solid #b6effb;
}

.status-message.warning {
  display: block;
  background: #fff3cd;
  color: #664d03;
  border: 1px solid #ffecb5;
}

/* Confirmation Modal */
.confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: white;
  padding: 25px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.modal-icon {
  font-size: 24px;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.modal-body {
  margin: 15px 0;
  color: #555;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.modal-btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-btn.confirm {
  background: #4f46e5;
  color: white;
}

.modal-btn.confirm:hover {
  background: #3730a3;
}

.modal-btn.cancel {
  background: #e5e7eb;
  color: #374151;
}

.modal-btn.cancel:hover {
  background: #d1d5db;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .file-import-group, .export-group {
    flex-direction: column;
    align-items: center;
  }
  
  .import-btn, .export-btn {
    width: 100%;
    max-width: 280px;
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .modal-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .import-btn, .export-btn {
    padding: 10px 15px;
    font-size: 14px;
    min-width: auto;
  }
}








