/* Estilos Formulario */

#pcf-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

#pcf-form label {
	margin: 30px auto 0px auto;
	font-size: 20px;
	font-weight: bold;
	border-top: 1px dotted #00000030;
	width: 100%;
	text-align: center;
	padding: 15px 0px 5px 0px;
}

#pcf-form .first-label {
	margin: 0px auto 5px auto;
}

#pcf-form textarea {
	height:400px;
}

#pcf-form button {
    margin: 5px auto;
    border-radius: 5px;
    font-size: 15px;
    width: 50%;
    padding: 3px;
	transition: 0.2s ease;
}

#pcf-form button:active {
    background-color: #86735a !important;
	width: 52%;
}

#pcf-form .crear-entrada {
	background-color: #9b1b30 !important;
    width: 95%;
    padding: 10px;
    margin: 5px auto;
}

#pcf-form .crear-entrada:active {
    background-color: #350910 !important;
	width: 95%;
}


#pcf-form input {
    margin: 5px auto;
    border-radius: 5px;
    font-size: 15px;
	width: 100%;
}

#pcf-form p {
    margin: 0 0 15px 0;
    font-size: 13px;
    font-style: italic;
    text-align: justify;
}


#pcf-form .gallery-explanation {
    margin: 30px 0 0 0;
}

#image-modal {
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.8);
	z-index:9999;
	justify-content:center;
	align-items:center;"
}

#image-modal button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white !important;
    background-color: #f4d0a2e8 !important;
    border: 1px solid white !important;
    border-radius: 10px;
    z-index: 100;
	width: 30px;
    height: 100px;
	transition: 0.1s ease !important;
}

#image-modal button:active {
    background-color: #f4d0a24d !important;
}

#image-modal #prev-image {
	left:10px;
}

#image-modal #next-image {
	right:10px;
}

#image-modal .button-hidden {
	display: none !important;
}

.image-modal-show {
	display:flex !important;
}

#pcf-message {
	background: white;
	margin: 10px auto;
    border-radius: 5px;
	width: 95%;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#pcf-message ul {
	color: #9b1b30;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
}

#pcf-message p {
	padding: 20px;
	text-align:center;
}

@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#img-featured-preview {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    animation: fadeInSlideUp 0.8s ease-out forwards;
    opacity: 0;
}

.remove-img {
    position: absolute;
    top: 5px; 
    right: 5px;
    color: #fff; 
    background-color: #9b1b30;
    border-radius: 50%; 
    padding: 4px 9px; 
    font-size: 1.1em;
    line-height: 1;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
}

#pcf-gallery-preview {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden; 
	align-items: center;
    gap: 10px;
	width: 100%;
    padding: 10px; 
    border: 1px solid #e0e0e0; 
    border-radius: 10px; 
    background-color: #f9f9f9; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
	margin: 20px auto;
}

.remove-img:active {
    background-color: #cc0000; 
    transform: scale(0.95); 
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); 
}

.gallery-thumb img {
    flex-shrink: 0;
    max-width: 200px !important; 
    object-fit: cover; 
    border-radius: 5px; 
    border: 1px solid #ccc;
}



/* ESTILOS PARA EL POST */

.custom-url {
  background-color: #f4f4f5;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 10px 0;
  font-family: system-ui, sans-serif;
  max-width: 100%;
  overflow-wrap: break-word;
  transition: background-color 0.3s ease;
}

.custom-url a {
  text-decoration: none;
  color: #2563eb;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  word-break: break-word;
}

.custom-url a:hover {
  color: #1d4ed8;
}

.url-icon {
  font-size: 1.1em;
  opacity: 0.7;
}

.url-text {
  flex: 1;
}