/* ФОН САЙТА */
body {
    background: url("bg.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.drag {
    position: absolute;
    width: 200px;
}

.container {
    width: 1100px;
    margin: 0 auto;
}

.header {
    text-align: center;
    padding: 20px;
    font-size: 22px;
    color: #7b5c5c;
}

.layout {
    display: flex;
    gap: 20px;
}

/* Columns */
.left { width: 28%; }
.center { width: 44%; }
.right { width: 28%; }

/* Boxes */
.box {
    background: #fffdf8;
    border: 2px solid #e6d7c5;
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
}

/* Images */
.imgbox {
    text-align: center;
}
.fullimg {
    width: 100%;
    border-radius: 12px;
}

/* Lists */
ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 5px;
}

/* Buttons */
.button88 {
    width: 88px;
    height: 31px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 15px;
    margin-top: 20px;
    color: #8a7e6c;
    font-size: 14px;
}

/* Стили для всех плавающих картинок */
#corner-image, #corner-image2, #corner-image3, #corner-image4, #corner-image5 {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
}

/* Картинка 1 - левая часть */
#corner-image {
    top: 2px;
    left: 30px;        /* От левого края */
    width: 200px;
    right: auto;       /* Отключаем правую позицию */
}

/* Картинка 2 - правая часть */
#corner-image2 {
    top: 110px;
    right: 40px;       /* От правого края */
    width: 200px;
    left: auto;        /* Отключаем левую позицию */
}

/* Картинка 3 - левая часть (ниже) */
#corner-image3 {
    top: 740px;        /* Уменьшил с 800px */
    left: 300px;        /* От левого края */
    width: 250px;
    right: auto;       /* Отключаем правую позицию */
}

/* Картинка 4 - правая часть (ниже) */
#corner-image4 {
    top: 1250px;        /* Уменьшил с 1100px */
    right: 860px;       /* От правого края */
    width: 200px;
    left: auto;        /* Отключаем левую позицию */
}

/* Картинка 5 - левая часть (посередине) */
#corner-image5 {
    top: 810px;        /* Уменьшил с 600px */
    left: 1070px;        /* От левого края */
    width: 170px;
    right: auto;       /* Отключаем правую позицию */
}

/* Исправленные стили для заметок */
.public-notes {
    position: relative;
    margin-top: 20px;
    border: 2px solid #d4c5c3;
    border-radius: 10px;
    overflow: hidden;
    min-height: 300px;
}

.notes-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.notes-main {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.notes-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #000;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.notes-display {
    background-color: transparent !important;
    border: none !important;
    padding: 15px;
    margin-bottom: 15px;
    min-height: 100px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #000;
    font-size: 16px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9),
                 0px 0px 5px rgba(255, 255, 255, 0.8);
}

/* ПОЛЕ РЕДАКТИРОВАНИЯ - ДЕЛАЕМ ПРОЗРАЧНЫМ */
.notes-edit-area {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    margin-bottom: 15px;
    border: none !important; /* Убираем обводку */
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.3) !important; /* Полупрозрачный */
    display: none;
    resize: vertical;
    color: #000;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* При фокусе делаем чуть видимее для удобства */
.notes-edit-area:focus {
    background-color: rgba(255, 255, 255, 0.5) !important;
    outline: none;
}

.notes-admin {
    text-align: center;
    margin-bottom: 15px;
    background-color: transparent !important;
    border: none !important;
}

.admin-btn {
    background-color: #ff3094;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: background-color 0.3s;
    margin: 0 5px;
}

.admin-btn:hover {
    background-color: #333;
}

.notes-footer {
    text-align: center;
    font-size: 12px;
    color: #000;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    background-color: transparent !important;
    border: none !important;
}

.notes-display, .notes-title, .notes-footer {
    font-weight: 500;
}