/*
Theme Name: F8 Lite
Theme URI: http://graphpaperpress.com/2008/06/02/f8-lite-portfolio-theme-for-wordpress/
Description: A photography & multimedia portfolio theme for Wordpress
Version: 2.0.1
Tags: white, light, one-column, two-columns, fixed-width, custom-header, threaded-comments, photoblogging
Author: Thad Allender
Author URI: http://graphpaperpress.com
License: GPL
*/

/*
    Copyright 2008 Graph Paper Press

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

*/

/************************* DEFAULT STYLES ***************************/
.ibr-section {
  margin-top: 0px;
  padding-top: 0px;
  border-top: 0px solid #ddd;
}
.ibr-section h4 {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 0;
  color: #333333;
  text-transform: uppercase;
}

/* drop zone */
#ibr-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 933px;
  height: 90px;
  margin: 10px 0 8px;
  border: 2px dashed #aaa;
  border-radius: 4px;
  background: #fafafa;
  cursor: pointer;
  font-size: 13px;
  color: #666;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
#ibr-dropzone:hover,
#ibr-dropzone.ibr-drag {
  border-color: #555;
  background: #f0f0f0;
}
#ibr-dropzone input { display: none; }

/* status line */
.ibr-status {
  font-size: 12px;
  margin: 4px 0 6px;
  padding: 5px 8px;
  border-radius: 3px;
  max-width: 933px;
  word-break: break-all;
}
.ibr-status--info  { background: #eef4ff; color: #334; }
.ibr-status--ok    { background: #eafff0; color: #163; }
.ibr-status--warn  { background: #fff8e0; color: #664400; }
.ibr-status--error { background: #fff0f0; color: #900; }

/* preview canvas */
#ibr-preview {
  display: none;
  max-width: 935px;
  margin: 8px 0;
  border: 1px solid #ccc;
}

#ibr-preview.ibr-drag {
  outline: 2px dashed #888;
  background: rgba(0,0,0,0.05);
  cursor: copy;
}

/* output textarea — matches existing style */
#ibr-output {
  width: 935px;
  height: 160px;
  display: block;
  margin-top: 6px;
  font-size: 11px;
}

/* Radio button */
.ibr-spacing-fieldset {
  border: 1px solid #444;
  border-radius: 5px;
  padding: 6px 12px 8px;
  margin: 8px 0;
  display: inline-flex;
  gap: 18px;
  align-items: center;
}

.ibr-spacing-fieldset legend {
  display: none; /* fieldset is self-describing via its labels */
}

.ibr-spacing-fieldset[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

.ibr-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9em;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.ibr-spacing-fieldset[disabled] .ibr-radio-label {
  cursor: not-allowed;
}

input[name="ibr-spacing"] {
  accent-color: #0077cc;
  cursor: pointer;
}

.ibr-spacing-fieldset[disabled] input[name="ibr-spacing"] {
  cursor: not-allowed;
}

@keyframes ibr-unlock {
  0%   { box-shadow: 0 0 0 0 rgba(0, 119, 204, 0.0); opacity: 0.4; }
  30%  { box-shadow: 0 0 0 15px rgba(0, 119, 204, 0.4); opacity: 1.0; }
  70%  { box-shadow: 0 0 0 6px rgba(0, 119, 204, 0.2); opacity: 1.0; }
  100% { box-shadow: 0 0 0 0 rgba(0, 119, 204, 0.0); opacity: 1.0; }
}

@keyframes ibr-lock {
  0%   { opacity: 1.0; box-shadow: 0 0 0 0 rgba(180, 60, 60, 0.0); }
  30%  { opacity: 0.6; box-shadow: 0 0 0 15px rgba(180, 60, 60, 0.3); }
  100% { opacity: 0.4; box-shadow: 0 0 0 0 rgba(180, 60, 60, 0.0); }
}

.ibr-spacing-fieldset.ibr-spacing--unlocked {
  animation: ibr-unlock 1.5s ease-out forwards;
}

.ibr-spacing-fieldset.ibr-spacing--locked {
  animation: ibr-lock 1.1s ease-in forwards;
}