1731 lines
33 KiB
CSS
1731 lines
33 KiB
CSS
/* Kapteins Daagbox App styling */
|
|
|
|
body {
|
|
background: radial-gradient(circle at center, #1b264f 0%, #0b0c10 100%);
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-family: system-ui, -apple-system, sans-serif;
|
|
}
|
|
|
|
/* Glassmorphism Auth Card */
|
|
.auth-card {
|
|
background: rgba(11, 12, 16, 0.75);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(212, 175, 55, 0.25);
|
|
border-radius: 20px;
|
|
padding: 40px;
|
|
width: 450px;
|
|
max-width: 90%;
|
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
animation: fadeIn 0.4s ease-out;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(15px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.auth-brand {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
width: 100%;
|
|
}
|
|
|
|
.auth-logo-img {
|
|
width: 100px;
|
|
height: 100px;
|
|
object-fit: contain;
|
|
filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.35));
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.auth-brand h1 {
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
color: #f8fafc;
|
|
background: linear-gradient(135deg, #fef08a 0%, #d97706 100%);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
margin: 0 0 8px 0;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.auth-brand .tagline {
|
|
font-size: 14.5px;
|
|
color: #94a3b8;
|
|
margin: 0;
|
|
line-height: 140%;
|
|
}
|
|
|
|
.auth-form {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.input-group {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.input-text {
|
|
width: 100%;
|
|
background: rgba(11, 12, 16, 0.85);
|
|
border: 1px solid rgba(148, 163, 184, 0.25);
|
|
border-radius: 10px;
|
|
padding: 14px 16px;
|
|
font-size: 16px;
|
|
color: #f1f5f9;
|
|
outline: none;
|
|
box-sizing: border-box;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.input-text:focus {
|
|
border-color: #d97706;
|
|
box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
|
|
background: #0b0c10;
|
|
}
|
|
|
|
.input-textarea {
|
|
width: 100%;
|
|
background: rgba(11, 12, 16, 0.85);
|
|
border: 1px solid rgba(148, 163, 184, 0.25);
|
|
border-radius: 10px;
|
|
padding: 14px;
|
|
font-size: 15px;
|
|
color: #f1f5f9;
|
|
outline: none;
|
|
box-sizing: border-box;
|
|
resize: none;
|
|
font-family: inherit;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.input-textarea:focus {
|
|
border-color: #d97706;
|
|
box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
|
|
background: #0b0c10;
|
|
}
|
|
|
|
.auth-submit-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Premium buttons */
|
|
.btn {
|
|
width: 100%;
|
|
padding: 14px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
transition: all 0.25s ease;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.btn.primary {
|
|
background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
|
|
color: #0b0c10;
|
|
box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
|
|
}
|
|
|
|
.btn.primary:hover:not(:disabled) {
|
|
transform: translateY(-1.5px);
|
|
box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
|
|
}
|
|
|
|
.btn.primary:active:not(:disabled) {
|
|
transform: translateY(0.5px);
|
|
}
|
|
|
|
.btn.secondary {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: #e2e8f0;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.btn.secondary:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
transform: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
/* Recovery screen formatting */
|
|
.auth-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.auth-icon {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.auth-icon.warn {
|
|
color: #f59e0b;
|
|
}
|
|
|
|
.auth-icon.accent {
|
|
color: #d97706;
|
|
}
|
|
|
|
.auth-card h2 {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
color: #f8fafc;
|
|
margin: 0;
|
|
}
|
|
|
|
.recovery-warning {
|
|
font-size: 13.5px;
|
|
color: #f43f5e;
|
|
background: rgba(244, 63, 94, 0.08);
|
|
border: 1px solid rgba(244, 63, 94, 0.2);
|
|
border-radius: 8px;
|
|
padding: 12px 14px;
|
|
line-height: 145%;
|
|
margin-bottom: 25px;
|
|
text-align: left;
|
|
}
|
|
|
|
.phrase-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 10px;
|
|
width: 100%;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.phrase-word {
|
|
background: rgba(11, 12, 16, 0.9);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 6px;
|
|
padding: 12px 8px;
|
|
font-size: 14.5px;
|
|
color: #f1f5f9;
|
|
text-align: center;
|
|
font-family: ui-monospace, monospace;
|
|
}
|
|
|
|
.word-num {
|
|
color: #d97706;
|
|
font-size: 11px;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.auth-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.auth-error {
|
|
width: 100%;
|
|
background: rgba(244, 63, 94, 0.08);
|
|
color: #fda4af;
|
|
border-left: 3px solid #f43f5e;
|
|
padding: 10px 12px;
|
|
font-size: 14px;
|
|
border-radius: 4px;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.auth-footer {
|
|
margin-top: 30px;
|
|
width: 100%;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
padding-top: 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.btn-icon-text {
|
|
background: none;
|
|
border: none;
|
|
color: #94a3b8;
|
|
font-size: 13.5px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
padding: 6px 10px;
|
|
border-radius: 6px;
|
|
transition: all 0.2s ease;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn-icon-text:hover {
|
|
color: #d97706;
|
|
background: rgba(217, 119, 6, 0.06);
|
|
}
|
|
|
|
.btn-icon-text.link-sec {
|
|
color: #4b5563;
|
|
}
|
|
|
|
.btn-icon-text.link-sec:hover {
|
|
color: #9ca3af;
|
|
}
|
|
|
|
/* Dashboard Mock Layout (for verified state) */
|
|
.dashboard-mock {
|
|
color: #f8fafc;
|
|
background: rgba(11, 12, 16, 0.75);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(212, 175, 55, 0.25);
|
|
border-radius: 20px;
|
|
padding: 40px;
|
|
text-align: center;
|
|
max-width: 600px;
|
|
width: 90%;
|
|
box-sizing: border-box;
|
|
animation: fadeIn 0.4s ease-out;
|
|
}
|
|
|
|
.dashboard-mock h2 {
|
|
font-size: 28px;
|
|
color: #fbbf24;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.dashboard-mock p {
|
|
color: #94a3b8;
|
|
line-height: 150%;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
/* Dashboard Layout and Styles */
|
|
.dashboard-container {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 24px;
|
|
box-sizing: border-box;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.dashboard-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 32px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid rgba(212, 175, 55, 0.15);
|
|
}
|
|
|
|
.header-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.header-logo {
|
|
color: #fbbf24;
|
|
filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.4));
|
|
}
|
|
|
|
.header-brand h1 {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
background: linear-gradient(135deg, #fef08a 0%, #d97706 100%);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.header-brand .subtitle {
|
|
font-size: 12px;
|
|
color: #94a3b8;
|
|
margin: 2px 0 0 0;
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.conn-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.conn-status.online {
|
|
background: rgba(34, 197, 94, 0.1);
|
|
color: #4ade80;
|
|
border: 1px solid rgba(34, 197, 94, 0.2);
|
|
}
|
|
|
|
.conn-status.offline {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #f87171;
|
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
|
}
|
|
|
|
.skipper-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.btn-icon {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: #94a3b8;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-icon:hover {
|
|
background: rgba(217, 119, 6, 0.1);
|
|
border-color: #d97706;
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.btn-icon.logout:hover {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border-color: #ef4444;
|
|
color: #f87171;
|
|
}
|
|
|
|
.dashboard-main {
|
|
display: grid;
|
|
grid-template-columns: 350px 1fr;
|
|
gap: 32px;
|
|
align-items: start;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.dashboard-main {
|
|
grid-template-columns: 1fr;
|
|
padding: 0 10px;
|
|
}
|
|
}
|
|
|
|
.create-section {
|
|
background: rgba(11, 12, 16, 0.6);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(212, 175, 55, 0.2);
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.create-section h2 {
|
|
font-size: 18px;
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.dashboard-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.mt-2 {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.mt-4 {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.mt-6 {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.mb-2 {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.mb-4 {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.mb-6 {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.list-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.section-title-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.section-title-bar h2 {
|
|
font-size: 20px;
|
|
margin: 0;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.btn-refresh {
|
|
background: none;
|
|
border: none;
|
|
color: #94a3b8;
|
|
cursor: pointer;
|
|
padding: 6px;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-refresh:hover {
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.spin {
|
|
animation: rotation 1s infinite linear;
|
|
}
|
|
|
|
@keyframes rotation {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(359deg); }
|
|
}
|
|
|
|
.dashboard-status-msg {
|
|
padding: 40px;
|
|
text-align: center;
|
|
color: #94a3b8;
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px dashed rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.logbooks-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.logbook-card {
|
|
background: rgba(11, 12, 16, 0.6);
|
|
backdrop-filter: blur(15px);
|
|
-webkit-backdrop-filter: blur(15px);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.logbook-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: rgba(212, 175, 55, 0.4);
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
|
|
background: rgba(11, 12, 16, 0.75);
|
|
}
|
|
|
|
.card-icon {
|
|
background: rgba(217, 119, 6, 0.1);
|
|
color: #fbbf24;
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
border: 1px solid rgba(217, 119, 6, 0.2);
|
|
}
|
|
|
|
.card-info {
|
|
flex-grow: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.card-info h3 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #f1f5f9;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.card-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 6px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.sync-badge {
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.sync-badge.synced {
|
|
background: rgba(34, 197, 94, 0.1);
|
|
color: #86efac;
|
|
}
|
|
|
|
.sync-badge.local {
|
|
background: rgba(234, 179, 8, 0.1);
|
|
color: #fde047;
|
|
}
|
|
|
|
.date-badge {
|
|
color: #64748b;
|
|
}
|
|
|
|
.btn-delete {
|
|
background: none;
|
|
border: none;
|
|
color: #475569;
|
|
cursor: pointer;
|
|
padding: 6px;
|
|
border-radius: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition: all 0.2s ease;
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
}
|
|
|
|
.logbook-card:hover .btn-delete {
|
|
opacity: 1;
|
|
}
|
|
|
|
.btn-delete:hover {
|
|
color: #f43f5e;
|
|
background: rgba(244, 63, 94, 0.1);
|
|
}
|
|
|
|
.btn-pdf {
|
|
background: none;
|
|
border: none;
|
|
color: #64748b;
|
|
cursor: pointer;
|
|
padding: 6px;
|
|
border-radius: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition: all 0.2s ease;
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 44px;
|
|
}
|
|
|
|
.logbook-card:hover .btn-pdf {
|
|
opacity: 1;
|
|
}
|
|
|
|
.btn-pdf:hover {
|
|
color: #38bdf8;
|
|
background: rgba(56, 189, 248, 0.1);
|
|
}
|
|
|
|
/* Active Logbook App Layout */
|
|
.app-layout {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 24px;
|
|
box-sizing: border-box;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.app-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 24px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid rgba(212, 175, 55, 0.15);
|
|
}
|
|
|
|
.app-header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.btn-back {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: #fbbf24;
|
|
padding: 8px 16px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-back:hover {
|
|
background: rgba(217, 119, 6, 0.1);
|
|
border-color: #d97706;
|
|
}
|
|
|
|
.app-title-area h2 {
|
|
font-size: 20px;
|
|
margin: 0;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.app-title-area .app-subtitle {
|
|
font-size: 12px;
|
|
color: #94a3b8;
|
|
margin: 2px 0 0 0;
|
|
}
|
|
|
|
.app-body {
|
|
display: grid;
|
|
grid-template-columns: 240px 1fr;
|
|
gap: 24px;
|
|
align-items: start;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.app-body {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.app-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
background: rgba(11, 12, 16, 0.6);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.sidebar-btn {
|
|
background: none;
|
|
border: none;
|
|
color: #94a3b8;
|
|
padding: 12px 16px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
font-weight: 500;
|
|
transition: all 0.2s;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.sidebar-btn:hover {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.sidebar-btn.active {
|
|
background: rgba(217, 119, 6, 0.1);
|
|
border: 1px solid rgba(217, 119, 6, 0.2);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.app-content {
|
|
background: rgba(11, 12, 16, 0.6);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(212, 175, 55, 0.2);
|
|
border-radius: 16px;
|
|
padding: 32px;
|
|
min-height: 400px;
|
|
box-sizing: border-box;
|
|
animation: fadeIn 0.3s ease-out;
|
|
}
|
|
|
|
.tab-placeholder {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 300px;
|
|
text-align: center;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.tab-placeholder h3 {
|
|
font-size: 24px;
|
|
color: #fbbf24;
|
|
margin-top: 16px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.tab-placeholder p {
|
|
max-width: 400px;
|
|
line-height: 150%;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Form and Editor layout structures */
|
|
.form-card {
|
|
background: rgba(11, 12, 16, 0.6);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(212, 175, 55, 0.2);
|
|
border-radius: 16px;
|
|
padding: 32px;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
|
|
.form-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.form-header h2 {
|
|
font-size: 20px;
|
|
margin: 0;
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.form-icon {
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.vessel-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.form-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.vessel-form label {
|
|
display: block;
|
|
font-size: 13.5px;
|
|
color: #94a3b8;
|
|
margin-bottom: 6px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.success-toast {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #4ade80;
|
|
background: rgba(34, 197, 94, 0.1);
|
|
border: 1px solid rgba(34, 197, 94, 0.2);
|
|
padding: 8px 16px;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Crew Dashboard Layout */
|
|
.crew-dashboard-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
width: 100%;
|
|
}
|
|
|
|
.member-editor-card {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(212, 175, 55, 0.15);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.editor-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.editor-header h3 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.editor-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.crew-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.crew-member-card {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
}
|
|
|
|
.crew-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.crew-card-header h4 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.card-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.crew-card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.crew-card-body p {
|
|
margin: 0;
|
|
line-height: 140%;
|
|
}
|
|
|
|
.crew-card-body strong {
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
/* Deviation Table Layout */
|
|
.deviation-grid-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.deviation-grid-container {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
.deviation-cell {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.cell-label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #fbbf24;
|
|
font-family: ui-monospace, monospace;
|
|
}
|
|
|
|
.cell-input {
|
|
text-align: center;
|
|
padding: 6px 8px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Event Journal Styling */
|
|
.events-scroll-container {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
background: rgba(11, 12, 16, 0.4);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 12px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Custom Scrollbar for events container */
|
|
.events-scroll-container::-webkit-scrollbar {
|
|
height: 6px;
|
|
}
|
|
.events-scroll-container::-webkit-scrollbar-track {
|
|
background: rgba(11, 12, 16, 0.2);
|
|
}
|
|
.events-scroll-container::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 3px;
|
|
}
|
|
.events-scroll-container::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.events-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.events-table th {
|
|
background: rgba(11, 12, 16, 0.8);
|
|
color: #fbbf24;
|
|
padding: 12px 16px;
|
|
font-weight: 600;
|
|
border-bottom: 1px solid rgba(212, 175, 55, 0.2);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.events-table td {
|
|
padding: 12px 16px;
|
|
color: #e2e8f0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.events-table tbody tr:hover {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.table-weather-img {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: block;
|
|
margin: -6px 0;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.remarks-td {
|
|
min-width: 160px;
|
|
max-width: 300px;
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.font-mono {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
}
|
|
|
|
.text-sm {
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* ========================================== */
|
|
/* PHASE 4: CONNECTION & SYNC INDICATORS */
|
|
/* ========================================== */
|
|
|
|
.sync-progress-bar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 3px;
|
|
background: linear-gradient(90deg, #fbbf24, #d97706, #fbbf24);
|
|
background-size: 200% 100%;
|
|
animation: sync-slide 1.5s infinite linear;
|
|
z-index: 9999;
|
|
}
|
|
|
|
@keyframes sync-slide {
|
|
0% { background-position: 200% 0; }
|
|
100% { background-position: 0 0; }
|
|
}
|
|
|
|
.conn-status.warning {
|
|
background: rgba(251, 191, 36, 0.1);
|
|
color: #fbbf24;
|
|
border: 1px solid rgba(251, 191, 36, 0.25);
|
|
}
|
|
|
|
.pulse-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background-color: #fbbf24;
|
|
display: inline-block;
|
|
margin-right: 6px;
|
|
animation: pulse-animation 1.5s infinite ease-in-out;
|
|
}
|
|
|
|
@keyframes pulse-animation {
|
|
0% { transform: scale(0.9); opacity: 0.6; }
|
|
50% { transform: scale(1.2); opacity: 1; }
|
|
100% { transform: scale(0.9); opacity: 0.6; }
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.hide-mobile {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
/* ========================================== */
|
|
/* PHASE 4: OS-ADAPTIVE UI THEMES */
|
|
/* ========================================== */
|
|
|
|
/* Body Overrides via :has() */
|
|
body:has(.theme-material) {
|
|
background: #121212 !important;
|
|
}
|
|
body:has(.theme-cupertino) {
|
|
background: #000000 !important;
|
|
}
|
|
|
|
/* --- MATERIAL THEME (ANDROID/LINUX) --- */
|
|
.theme-material {
|
|
font-family: 'Roboto', 'Noto Sans', system-ui, -apple-system, sans-serif !important;
|
|
}
|
|
|
|
/* Color & Text overrides */
|
|
.theme-material h1,
|
|
.theme-material h2,
|
|
.theme-material h3,
|
|
.theme-material h4,
|
|
.theme-material .form-header h2,
|
|
.theme-material .form-icon,
|
|
.theme-material .header-logo,
|
|
.theme-material .card-icon,
|
|
.theme-material .btn-back,
|
|
.theme-material .cell-label {
|
|
color: #00adb5 !important;
|
|
}
|
|
|
|
/* Card Overrides */
|
|
.theme-material .auth-card,
|
|
.theme-material .form-card,
|
|
.theme-material .create-section,
|
|
.theme-material .app-sidebar,
|
|
.theme-material .app-content,
|
|
.theme-material .logbook-card,
|
|
.theme-material .crew-member-card,
|
|
.theme-material .member-editor-card {
|
|
background: #1e1e1e !important;
|
|
backdrop-filter: none !important;
|
|
-webkit-backdrop-filter: none !important;
|
|
border: 1px solid #2d2d2d !important;
|
|
border-radius: 4px !important;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
|
|
}
|
|
|
|
/* Input Overrides */
|
|
.theme-material .input-text,
|
|
.theme-material .input-textarea,
|
|
.theme-material select.input-text {
|
|
background: #2a2a2a !important;
|
|
border: 1px solid #3d3d3d !important;
|
|
border-radius: 4px !important;
|
|
color: #f1f5f9 !important;
|
|
}
|
|
.theme-material .input-text:focus,
|
|
.theme-material .input-textarea:focus {
|
|
border-color: #00adb5 !important;
|
|
box-shadow: 0 0 0 2px rgba(0, 173, 181, 0.2) !important;
|
|
}
|
|
|
|
/* Button Overrides */
|
|
.theme-material .btn.primary {
|
|
background: #00adb5 !important;
|
|
color: #ffffff !important;
|
|
border-radius: 4px !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.theme-material .btn.primary:hover {
|
|
background: #008f95 !important;
|
|
transform: none !important;
|
|
}
|
|
.theme-material .btn.secondary,
|
|
.theme-material .btn-back {
|
|
background: #2a2a2a !important;
|
|
border: 1px solid #3d3d3d !important;
|
|
color: #f1f5f9 !important;
|
|
border-radius: 4px !important;
|
|
}
|
|
.theme-material .btn.secondary:hover,
|
|
.theme-material .btn-back:hover {
|
|
background: #333333 !important;
|
|
}
|
|
|
|
/* Sidebar Overrides */
|
|
.theme-material .sidebar-btn {
|
|
border-radius: 0 !important;
|
|
border-left: 4px solid transparent !important;
|
|
}
|
|
.theme-material .sidebar-btn.active {
|
|
background: rgba(0, 173, 181, 0.08) !important;
|
|
border-left: 4px solid #00adb5 !important;
|
|
color: #00adb5 !important;
|
|
border-top: none !important;
|
|
border-right: none !important;
|
|
border-bottom: none !important;
|
|
}
|
|
|
|
/* Header Overrides */
|
|
.theme-material .app-header {
|
|
border-bottom: 1px solid #2d2d2d !important;
|
|
}
|
|
|
|
/* Tables and Grids */
|
|
.theme-material .events-table th {
|
|
color: #00adb5 !important;
|
|
border-bottom: 2px solid #2d2d2d !important;
|
|
}
|
|
.theme-material .events-table td {
|
|
border-bottom: 1px solid #2d2d2d !important;
|
|
}
|
|
.theme-material .events-scroll-container {
|
|
border: 1px solid #2d2d2d !important;
|
|
}
|
|
|
|
/* Progress bar override for Material */
|
|
.theme-material ~ .sync-progress-bar {
|
|
background: linear-gradient(90deg, #00adb5, #008f95, #00adb5) !important;
|
|
}
|
|
|
|
|
|
/* --- CUPERTINO THEME (iOS/macOS) --- */
|
|
.theme-cupertino {
|
|
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
|
|
}
|
|
|
|
/* Color & Text overrides */
|
|
.theme-cupertino h1,
|
|
.theme-cupertino h2,
|
|
.theme-cupertino h3,
|
|
.theme-cupertino h4,
|
|
.theme-cupertino .form-header h2,
|
|
.theme-cupertino .form-icon,
|
|
.theme-cupertino .header-logo,
|
|
.theme-cupertino .card-icon,
|
|
.theme-cupertino .btn-back,
|
|
.theme-cupertino .cell-label {
|
|
color: #0a84ff !important;
|
|
}
|
|
|
|
/* Card Overrides */
|
|
.theme-cupertino .auth-card,
|
|
.theme-cupertino .form-card,
|
|
.theme-cupertino .create-section,
|
|
.theme-cupertino .app-sidebar,
|
|
.theme-cupertino .app-content,
|
|
.theme-cupertino .logbook-card,
|
|
.theme-cupertino .crew-member-card,
|
|
.theme-cupertino .member-editor-card {
|
|
background: rgba(28, 28, 30, 0.7) !important;
|
|
backdrop-filter: blur(25px) !important;
|
|
-webkit-backdrop-filter: blur(25px) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
border-radius: 12px !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
/* Input Overrides */
|
|
.theme-cupertino .input-text,
|
|
.theme-cupertino .input-textarea,
|
|
.theme-cupertino select.input-text {
|
|
background: rgba(255, 255, 255, 0.05) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.12) !important;
|
|
border-radius: 8px !important;
|
|
color: #ffffff !important;
|
|
}
|
|
.theme-cupertino .input-text:focus,
|
|
.theme-cupertino .input-textarea:focus {
|
|
border-color: #0a84ff !important;
|
|
box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.25) !important;
|
|
}
|
|
|
|
/* Button Overrides */
|
|
.theme-cupertino .btn.primary {
|
|
background: #0a84ff !important;
|
|
color: #ffffff !important;
|
|
border-radius: 9999px !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.theme-cupertino .btn.primary:hover {
|
|
background: #007aff !important;
|
|
transform: none !important;
|
|
}
|
|
.theme-cupertino .btn.secondary,
|
|
.theme-cupertino .btn-back {
|
|
background: rgba(255, 255, 255, 0.08) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.12) !important;
|
|
color: #ffffff !important;
|
|
border-radius: 9999px !important;
|
|
}
|
|
.theme-cupertino .btn.secondary:hover,
|
|
.theme-cupertino .btn-back:hover {
|
|
background: rgba(255, 255, 255, 0.12) !important;
|
|
}
|
|
|
|
/* Sidebar Overrides */
|
|
.theme-cupertino .sidebar-btn {
|
|
border-radius: 8px !important;
|
|
}
|
|
.theme-cupertino .sidebar-btn.active {
|
|
background: rgba(10, 132, 255, 0.12) !important;
|
|
color: #0a84ff !important;
|
|
border: 1px solid rgba(10, 132, 255, 0.2) !important;
|
|
}
|
|
|
|
/* Header Overrides */
|
|
.theme-cupertino .app-header {
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
}
|
|
|
|
/* Tables and Grids */
|
|
.theme-cupertino .events-table th {
|
|
color: #0a84ff !important;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
|
|
}
|
|
.theme-cupertino .events-table td {
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
}
|
|
.theme-cupertino .events-scroll-container {
|
|
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
background: rgba(28, 28, 30, 0.5) !important;
|
|
}
|
|
|
|
/* Progress bar override for Cupertino */
|
|
.theme-cupertino ~ .sync-progress-bar {
|
|
background: linear-gradient(90deg, #0a84ff, #007aff, #0a84ff) !important;
|
|
}
|
|
|
|
|
|
/* Photo Attachments Styling */
|
|
.photo-attachments-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
gap: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
.photo-card {
|
|
position: relative;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(15, 23, 42, 0.4);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.photo-card:hover {
|
|
transform: translateY(-2px) scale(1.02);
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
|
|
border-color: rgba(212, 175, 55, 0.3);
|
|
}
|
|
|
|
.photo-container {
|
|
position: relative;
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
background: #0b0c10;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.photo-container img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.photo-btn-delete {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
background: rgba(15, 23, 42, 0.7);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: #f43f5e;
|
|
border-radius: 50%;
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.photo-btn-delete:hover {
|
|
background: #f43f5e;
|
|
color: #ffffff;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.photo-caption-bar {
|
|
padding: 10px 12px;
|
|
background: rgba(15, 23, 42, 0.55);
|
|
font-size: 13px;
|
|
color: #e2e8f0;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
text-align: center;
|
|
font-weight: 500;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Custom Dialog Modals Styling */
|
|
.custom-dialog-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(11, 12, 16, 0.75);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10000;
|
|
}
|
|
|
|
.custom-dialog-card {
|
|
background: rgba(15, 23, 42, 0.85);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
padding: 28px;
|
|
width: 90%;
|
|
max-width: 420px;
|
|
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.custom-dialog-title {
|
|
font-size: 19px;
|
|
font-weight: 700;
|
|
color: #fbbf24;
|
|
margin: 0 0 14px 0;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.custom-dialog-message {
|
|
font-size: 15px;
|
|
color: #e2e8f0;
|
|
line-height: 1.5;
|
|
margin: 0 0 24px 0;
|
|
}
|
|
|
|
.custom-dialog-actions {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Sails List UI */
|
|
.sails-section {
|
|
grid-column: span 2;
|
|
border-top: 1px solid #1e293b;
|
|
padding-top: 20px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.sails-section h3 {
|
|
font-size: 16px;
|
|
color: #fbbf24;
|
|
margin: 0 0 8px 0;
|
|
}
|
|
|
|
.sails-section p.help-text {
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
margin: 0 0 12px 0;
|
|
}
|
|
|
|
.sails-badges-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.sail-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: rgba(30, 41, 59, 0.7);
|
|
border: 1px solid #334155;
|
|
color: #e2e8f0;
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.sail-badge button.remove-btn {
|
|
background: none;
|
|
border: none;
|
|
color: #94a3b8;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0;
|
|
margin: 0;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.sail-badge button.remove-btn:hover {
|
|
color: #ef4444;
|
|
}
|
|
|
|
.no-sails-msg {
|
|
color: #64748b;
|
|
font-size: 14px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.add-sail-form {
|
|
display: flex;
|
|
gap: 10px;
|
|
max-width: 400px;
|
|
}
|
|
|
|
/* Event Editor Interactive Sails Picker */
|
|
.sails-picker-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.sails-picker-pills {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.sail-pill {
|
|
background: rgba(30, 41, 59, 0.5);
|
|
border: 1px solid #334155;
|
|
color: #94a3b8;
|
|
padding: 4px 10px;
|
|
border-radius: 15px;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.sail-pill:hover {
|
|
border-color: #fbbf24;
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.sail-pill.active {
|
|
background: rgba(251, 191, 36, 0.15);
|
|
border-color: #fbbf24;
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.sail-pill.motor-pill {
|
|
border-color: #38bdf8;
|
|
color: #38bdf8;
|
|
}
|
|
|
|
.sail-pill.motor-pill:hover {
|
|
border-color: #7dd3fc;
|
|
color: #7dd3fc;
|
|
}
|
|
|
|
.sail-pill.motor-pill.active {
|
|
background: rgba(56, 189, 248, 0.15);
|
|
border-color: #38bdf8;
|
|
color: #38bdf8;
|
|
}
|
|
|
|
/* Yacht Photo Styling */
|
|
.vessel-photo-wrapper {
|
|
grid-column: span 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
background: rgba(30, 41, 59, 0.4);
|
|
border: 1px dashed #334155;
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.vessel-photo-preview {
|
|
position: relative;
|
|
width: 200px;
|
|
height: 150px;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
background: #0f172a;
|
|
border: 1px solid #1e293b;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.vessel-photo {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.vessel-photo-placeholder {
|
|
color: #475569;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.vessel-photo-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(15, 23, 42, 0.8);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
color: #fbbf24;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.vessel-photo-preview:hover .vessel-photo-overlay {
|
|
opacity: 1;
|
|
}
|
|
|
|
.vessel-photo-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 6px 12px !important;
|
|
font-size: 12.5px !important;
|
|
height: auto !important;
|
|
min-height: auto !important;
|
|
}
|
|
|
|
.btn.danger {
|
|
background: rgba(239, 68, 68, 0.15) !important;
|
|
color: #fca5a5 !important;
|
|
border: 1px solid rgba(239, 68, 68, 0.3) !important;
|
|
}
|
|
|
|
.btn.danger:hover {
|
|
background: rgba(239, 68, 68, 0.25) !important;
|
|
border-color: #ef4444 !important;
|
|
}
|
|
|
|
|