



body {
  
  font-family: Arial, Helvetica, sans-serif;
  background: #f1f3f7;
  color: #333;
  margin: 0;
  padding: 40px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.3em;
  color: #2c3e50;
}

.upload-section {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.3em;
  
}

#imageDetails,
.controls,
.actions {
  background: #ffe;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#imageDetails p {
  margin: 5px 0;
}

.controls label,
.controls input,
.controls select {
  margin-right: 10px;
}

#customRatioInputs input {
  width: 80px;
  padding: 5px;
}

#dimensionCalculator {
  margin-top: 10px;
}

#dimensionCalculator input {
  width: 100px;
  padding: 5px;
}

#dimensionResult {
  margin-top: 10px;
  font-weight: bold;
}

#imageContainer {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border: 2px solid #2c3e50;
  background: #e1e4ea;
}

#imageContainer img {
  display: block;
  max-width: 100%;
  height: auto;
}

#cropFrame {
  position: absolute;
  border: 2px dashed #e74c3c;
  background: rgba(255, 255, 255, 0.2);
  cursor: move;
  box-sizing: border-box;
  transition: border 0.2s;
}

#cropFrame:hover {
  border: 2px solid #c0392b;
}

.actions {
  text-align: left;
}

.actions button {
  background: #0019C8;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.actions button:hover {
  background: #34495e;
}

input[type="file"] {
  padding: 8px;
  border-radius: 4px;
  background: #ecf0f1;
  border: 1px solid #ccc;
}

select {
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

input[type="number"] {
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 5px;
}


/* Header LOZKORP */
.header-bar {
  background-color: rgb(0, 19, 200); /* Azul cobalto LOZKORP */
  color: #fff;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 3px solid #000066; /* Opcional: borde inferior */
}

.header-left {
  flex: 0 0 auto;
}

.logo {
  height: 80px; /* Ajusta según tamaño real */
  width: auto;
}

.header-title {
  flex: 1;
  text-align: center;
  margin: 0;
  font-size: 2.3em;
  font-weight: 700;
  color: #fff;
}

.rotation-controls {
  text-align: center;
  margin-bottom: 20px;
}

.rotation-controls button {
  background: #2c3e50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.rotation-controls button:hover {
  background: #34495e;
}

.flip-controls {
  text-align: center;
  margin-bottom: 20px;
}

.flip-controls button {
  background: #2c3e50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.flip-controls button:hover {
  background: #34495e;
}

.resize-controls {
  background: #fee;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.resize-controls label {
  display: block;
  margin: 10px 0;
}

.resize-controls input {
  width: 100px;
  padding: 5px;
}

.resize-controls button {
  background: #2c3e50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.resize-controls button:hover {
  background: #34495e;
}

.header-titles {
  flex: 1;
  text-align: center;
  font-size: 1.8em;
}

.header-subtitle {
  margin: 5px 0 0 0;
  font-size: 0.7em;
  font-weight: 300;
  color: #e0e0e0;
}