/* Стили из find.html */
body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}
.container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h1 {
    color: #2c3e50;
    text-align: center;
}
#status {
    margin: 20px 0;
    padding: 10px;
    background-color: #e3f2fd;
    border-radius: 5px;
    text-align: center;
}
#results {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}
.device-link {
    padding: 12px;
    background-color: #e8f5e9;
    border-radius: 5px;
    text-decoration: none;
    color: #2e7d32;
    font-weight: bold;
    transition: all 0.3s;
    text-align: center;
}
.device-link:hover {
    background-color: #c8e6c9;
    transform: translateY(-2px);
}
.progress-container {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background-color: #4caf50;
    width: 0%;
    transition: width 0.3s;
}
button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    display: block;
    margin: 0 auto;
}
button:hover {
    background-color: #388e3c;
}
button:disabled {
    background-color: #a5d6a7;
    cursor: not-allowed;
}
/* --- Стили переключателя тем (скопировано из footer.html) --- */
.find-footer-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 32px 0 0 0;
    padding: 0;
}
.find-toggle, .find-theme-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    padding: 4px 10px;
    background: #f3f6fa;
    box-shadow: 0 1px 2px rgba(60,60,100,0.04);
    transition: background 0.2s, box-shadow 0.2s;
    border: none;
    outline: none;
}
.find-toggle {
    background: #eaf7ea;
    color: #4cae4f;
}
.find-toggle.active {
    background: #4cae4f;
    color: #fff;
}
.find-toggle img {
    filter: none;
    transition: filter 0.2s;
}
.find-toggle.active img {
    filter: grayscale(1) brightness(2.2);
}
.find-theme-toggle {
    background: #eaf1f7;
    color: #ffa600;
}
.find-theme-toggle.active {
    background: #ffa600;
    color: #fff;
}
.find-theme-toggle img {
    filter: none;
    transition: filter 0.2s;
}
.find-theme-toggle.active img {
    filter: grayscale(1) brightness(2.2);
}
.find-footer-link {
    font-weight:600;
    font-size:15px;
    letter-spacing:0.01em;
    line-height:1.2;
    color:#4cae4f;
    text-decoration:none;
    margin: 0 8px;
    transition: color 0.2s;
}
.find-footer-link:hover {
    color: #388a3b;
    text-decoration: underline;
}
.theme-dark {
    background: #181c23 !important;
    color: #e6eaf3 !important;
}
.theme-dark body {
    background: #181c23 !important;
    color: #e6eaf3 !important;
}
.theme-dark .container {
    background: #23272e !important;
    color: #e6eaf3 !important;
    box-shadow: 0 1px 4px rgba(20,20,40,0.10);
}
.theme-dark h1 {
    color: #4cae4f !important;
}
.theme-dark #status {
    background-color: #232f3e !important;
    color: #b3b9c9 !important;
}
.theme-dark .device-link {
    background-color: #232f3e !important;
    color: #4cae4f !important;
}
.theme-dark .device-link:hover {
    background-color: #2a2e36 !important;
    color: #ffa600 !important;
}
.theme-dark .progress-container {
    background-color: #2a2e36 !important;
}
.theme-dark .progress-bar {
    background-color: #4cae4f !important;
}
.theme-dark button {
    background-color: #4cae4f !important;
    color: #fff !important;
}
.theme-dark button:hover {
    background-color: #388a3b !important;
}
.theme-dark .find-footer-link {
    color: #4cae4f !important;
}
.theme-dark .find-footer-link:hover {
    color: #ffa600 !important;
}
.theme-dark .find-toggle,
.theme-dark .find-theme-toggle {
    background: #23272e !important;
    box-shadow: 0 1px 4px rgba(20,20,40,0.10);
}
.theme-dark .find-toggle.active {
    background: #4cae4f !important;
    color: #fff !important;
    box-shadow: 0 2px 12px rgba(76,174,79,0.12);
}
.theme-dark .find-theme-toggle.active {
    background: #ffa600 !important;
    color: #fff !important;
    box-shadow: 0 2px 12px rgba(255,166,0,0.12);
}