/* assets/css/ccedit.css */

pictureBTN, .ccpictureBTN {
  background-image: url(../img/cc/picture.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

titleBTN, .cctitleBTN {
  background-image: url(../img/cc/title.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

descriptionBTN, .ccdescriptionBTN {
  background-image: url(../img/cc/description.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

linkBTN, .cclinkBTN {
  background-image: url(../img/cc/link.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

dateBTN, .ccdateBTN {
  background-image: url(../img/cc/date.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

pencilBTN, .ccpencilBTN {
  background-image: url(../img/cc/pencil.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

diskBTN, .ccdiskBTN {
  background-image: url(../img/cc/disk.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

trashBTN, .cctrashBTN {
  background-image: url(../img/cc/trash.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

stampBTN, .ccstampBTN {
  background-image: url(../img/cc/stamp.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

reloadBTN, .ccreloadBTN {
  background-image: url(../img/cc/reload.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

boldBTN, .ccboldBTN {
  background-image: url(../img/cc/bold.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

italicBTN, .ccitalicBTN {
  background-image: url(../img/cc/italic.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

searchBTN, .ccsearchBTN {
  background-image: url(../img/cc/search.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

netglobeBTN, .ccnetglobeBTN {
  background-image: url(../img/cc/netglobe.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

imageBTN, .ccimageBTN {
  background-image: url(../img/cc/image.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

.ccEditor .alert-danger {
  color: #fb1a1a;
  text-align: center;
  border-color: #3e5500;
  height: 32px;
}

.ccEditor {
  margin-top: 7px;
  border: 1px solid #3e5500;
  border-radius: 10px 10px 10px 10px;
}

#toolbar li{
  position: relative;
  display: inline-block;
}

#toolbar li:hover .tooltiptext {
  opacity: 1;
  visibility: visible;
}

.dogchatsvgbutton {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin: 0 7px;
}

.dogchatsvgbutton a {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  text-indent: -1000em;
  text-decoration: none;
}

.dogchatsvgbutton a:hover {
  opacity: 0.8;
}

.dogchatsvgbutton a:active {
  position: relative;
  top: 1px;
}

#editCardData {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(17, 56, 3);
    border: 2px solid rgb(62, 85, 0);
    border-radius: 8px;
    padding: 20px;
    z-index: 1001;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 8px;
    display: flex;
    flex-direction: column;
    width: 820px;
}

#ccEditorContent {
    flex-grow: 1;
    border: 1px solid #3e5500;
    border-radius: 4px;
    padding: 10px;
    background: #081e02;
    color: #fdfde5;
    overflow-y: auto;
    margin-top: 10px;
    min-height: 150px;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.editor-header {
    position: relative;
    margin-bottom: 15px;
}

.editor-header h3 {
    margin-top: 0;
    color: #ff9700;
    text-align: center;
}

#closeEditorX {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: #3e5500;
    border-radius: 50%;
    color: #fdfde5;
    text-align: center;
    line-height: 24px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.editor-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

#uppertools {
    margin: 0;
    padding: 0;
    list-style: none;
}

[contenteditable="true"] {
    word-wrap: break-word;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

/* Published Date Dialog Styles */
#publishedDateDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #113803;
    border: 2px solid #3e5500;
    border-radius: 8px;
    padding: 20px;
    z-index: 1001;
    min-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

#publishedDateDialog h3 {
    margin-top: 0;
    color: #ff9700;
}

#publishedDateDialog label {
    display: block;
    margin-bottom: 5px;
    color: #B0C4DE;
}

#publishedDateInput {
    width: 100%;
    padding: 8px;
    border: 1px solid #3e5500;
    border-radius: 4px;
    background: #081e02;
    color: #fdfde5;
    margin-bottom: 15px;
}

#saveDateBtn {
    background: #3e5500;
    color: #fdfde5;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

#dateDialogMessage {
    margin-top: 10px;
    color: #ff9700;
    font-size: 0.9em;
}

/* Message Dialog Styles */
#messageDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #113803;
    border: 2px solid #3e5500;
    border-radius: 8px;
    padding: 20px;
    z-index: 1001;
    min-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

#messageDialog h3 {
    margin-top: 0;
}

#closeMessageBtn {
    background: #3e5500;
    color: #fdfde5;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

/* Confirmation Dialog Styles */
#confirmationDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #113803;
    border: 2px solid #3e5500;
    border-radius: 8px;
    padding: 20px;
    z-index: 1001;
    min-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

#confirmationDialog h3 {
    margin-top: 0;
    color: #ff9700;
}

#confirmationDialog p {
    color: #B0C4DE;
    margin-bottom: 15px;
}

#cancelConfirmBtn, #confirmBtn {
    background: #3e5500;
    color: #fdfde5;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

#confirmBtn {
    background: #fb1a1a;
}

.hidebutton {
    display: none !important;
}
