/* camera.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

.container {
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
}
  h1, h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
  }
  #video-container {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    height: calc(100vh / 2);
  }
  #video {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
  }
  .button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    padding: 10px;
    font-size: 18px;
    background-color: #dd6515;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;

    &:hover {
      background-color: #c9490a;
    }
  }
  #result {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
  }
  #container-number {
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    padding: 10px;
    font-size: 18px;
    text-align: center;
    display: block;
  }
  .hidden {
    display: none;
  }
  .inline-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  #loading-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
  }
  #thumbnails-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    max-width: 640px;
    margin: 0 auto;
  }
  .thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #dd6515;
  }
  .container-accept {
    display: flex;
    gap: 20px;
    justify-content: center;
  }
  .container-accept--none {
    background-color: #e25d29;
  }
.container__info {
  margin: 0 auto 50px auto;
  max-width: 100%;
  width: 100%;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.container__info p {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 0;
  padding: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.container__info p:nth-child(odd) {
  background-color: #f5f5f5;
}

.container__info strong {
  display: inline-block;
  width: 170px;
  text-align: left;
  flex-shrink: 0;
}

.container__info span {
  display: inline-block;
  text-align: left;
  flex-grow: 1;
  word-wrap: break-word;
}

/* Мобильная адаптация для container__info */
@media (max-width: 576px) {
  .container__info {
    padding: 0 10px;
  }
  
  .container__info p {
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    text-align: left;
  }
  
  .container__info strong {
    width: 100%;
    font-weight: 700;
    margin-bottom: 2px;
  }
  
  .container__info span {
    width: 100%;
    padding-left: 10px;
  }
}

.seal-code__label {
    margin: 0;
    margin-bottom: 5px;
  }

  .seal-code__input {
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
  }
.valid {
  border: 2px solid green;
}
.invalid {
  border: 2px solid red;
}
input {
  padding: 8px;
  font-size: 16px;
  width: 200px;
}
button {
  padding: 8px 16px;
  font-size: 16px;
  margin-top: 10px;
}
button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
body {
    background-color: #fff; 
  }
  .avatar {
    width: 100px;  
    height: 100px;  
    object-fit: cover;  
    border-radius: 50%;  
  }
  .avatar__empty {
    display: grid;
    width: 100px;
    height: 100px;
    border: 1px solid #e4e4e4;
    border-radius: 50%;
    text-align: center;
    align-content: center;
    font-size: 12px;
    color: #cccaca;
  }
  .scanner {
    padding: 0 10px;
    padding-bottom: 10px;
  }
  .scanner__wrapper {
    padding: 20px;
    border-radius: 4px;
    background-color: #fdfdfd;
    border: 1px solid #e4e4e4
  }
  .scanner__header {
    margin-botton: 0;
    font-size: 20px;
  }
  .scanner__user{
    display: flex;
    margin: 0;
    justify-content: center;
  }
  .scanner__btn {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    display: block;
    width: 100%;
    text-align: center;
    max-width: calc(100vw - 80px);
    margin: 20px auto;
    padding: 20px;
    font-size: 18px;
    background-color: #dd6515;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;

    &:hover {
      background-color: #c9490a;
    }
  }
  .scanner__input {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    font-size: 18px;
    text-align: center;
  }
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
 @import "camera";
 @import "index";
 @import "edit";
 @import "show";
body {
  background-color: #fff;
}
