:root {
--tmw-primary: #00aeaf;
--tmw-primary-dark: #009091;
--tmw-orange: #f48f00;
--tmw-text: #444444;
--tmw-heading: #121212;
--tmw-light-bg: #f8f8f9;
} .tmw-couple-dashboard,
.tmw-guest-gallery {
font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
font-size: 0.95rem;
color: var(--tmw-text);
line-height: 1.6;
}
.tmw-couple-dashboard *,
.tmw-guest-gallery * {
box-sizing: border-box;
} .tmw-btn {
display: inline-block;
padding: 0.7rem 1.3rem;
font-size: 1rem;
font-weight: 600;
text-align: center;
border-radius: 8px;
border: none;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
}
.tmw-btn-primary {
background: var(--tmw-primary);
color: white;
}
.tmw-btn-primary:hover {
background: var(--tmw-primary-dark);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 174, 175, 0.3);
}
.tmw-btn-secondary {
background: white;
color: var(--tmw-text);
border: 2px solid #dadada;
}
.tmw-btn-secondary:hover {
border-color: var(--tmw-primary);
color: var(--tmw-primary);
} .tmw-couple-dashboard h1,
.tmw-couple-dashboard h2,
.tmw-couple-dashboard h3,
.tmw-guest-gallery h1,
.tmw-guest-gallery h2,
.tmw-guest-gallery h3 {
font-family: 'Old Standard TT', serif;
color: var(--tmw-heading);
line-height: 1.3;
} .tmw-card {
background: white;
border-radius: 10px;
padding: 25px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
margin-bottom: 20px;
} .tmw-alert {
padding: 15px 20px;
border-radius: 8px;
margin-bottom: 20px;
font-size: 0.95rem;
}
.tmw-alert-success {
background: #e6f7f0;
color: #006633;
border-left: 4px solid #129e32;
}
.tmw-alert-error {
background: #fff5f5;
color: #da0419;
border-left: 4px solid #da0419;
}
.tmw-alert-warning {
background: #fff5e6;
color: #996600;
border-left: 4px solid #f3b600;
}
.tmw-alert-info {
background: #e6f7ff;
color: #0066cc;
border-left: 4px solid var(--tmw-primary);
} .tmw-photos-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 15px;
}
@media (max-width: 768px) {
.tmw-photos-grid {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 10px;
}
} .tmw-loader {
border: 3px solid #f3f3f3;
border-top: 3px solid var(--tmw-primary);
border-radius: 50%;
width: 40px;
height: 40px;
animation: tmw-spin 1s linear infinite;
margin: 20px auto;
}
@keyframes tmw-spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
} @media (max-width: 576px) {
.tmw-btn {
width: 100%;
margin-bottom: 10px;
}
.tmw-card {
padding: 15px;
}
}  .tmw-media-item {
position: relative;
border-radius: 12px;
overflow: hidden;
background: #f5f5f5;
aspect-ratio: 1;
}
.tmw-media-item.tmw-video-item {
background: #000;
}
.tmw-video-wrapper {
position: relative;
width: 100%;
height: 100%;
}
.tmw-video-player {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.tmw-video-player:focus {
outline: none;
} .tmw-video-thumbnail {
position: relative;
width: 100%;
height: 100%;
cursor: pointer;
}
.tmw-video-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
}
.tmw-video-play-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.3);
transition: background 0.3s ease;
}
.tmw-video-thumbnail:hover .tmw-video-play-overlay {
background: rgba(0, 0, 0, 0.5);
}
.tmw-video-play-btn {
width: 60px;
height: 60px;
background: rgba(255, 255, 255, 0.9);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.3s ease, background 0.3s ease;
}
.tmw-video-play-btn::after {
content: '';
width: 0;
height: 0;
border-left: 20px solid var(--tmw-primary);
border-top: 12px solid transparent;
border-bottom: 12px solid transparent;
margin-left: 5px;
}
.tmw-video-thumbnail:hover .tmw-video-play-btn {
transform: scale(1.1);
background: white;
} .tmw-video-duration {
position: absolute;
bottom: 8px;
right: 8px;
background: rgba(0, 0, 0, 0.75);
color: white;
padding: 3px 8px;
border-radius: 4px;
font-size: 12px;
font-weight: 600;
z-index: 10;
}
.tmw-video-badge {
position: absolute;
top: 8px;
left: 8px;
background: rgba(0, 0, 0, 0.6);
color: white;
padding: 4px 8px;
border-radius: 6px;
font-size: 12px;
z-index: 10;
display: flex;
align-items: center;
gap: 4px;
}
.tmw-video-badge::before {
content: '🎬';
} .tmw-upload-video-section {
margin-top: 20px;
padding: 20px;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border-radius: 12px;
border: 2px dashed #dee2e6;
text-align: center;
}
.tmw-upload-video-section.dragging {
border-color: var(--tmw-primary);
background: linear-gradient(135deg, #e6f7f7 0%, #d4efef 100%);
}
.tmw-upload-video-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
background: var(--tmw-orange);
color: white;
border: none;
border-radius: 8px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.tmw-upload-video-btn:hover {
background: #e08200;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(244, 143, 0, 0.3);
}
.tmw-upload-video-btn::before {
content: '🎥';
font-size: 1.2em;
}
.tmw-upload-video-info {
margin-top: 10px;
font-size: 0.85rem;
color: #6c757d;
} .tmw-upload-progress {
margin-top: 15px;
display: none;
}
.tmw-upload-progress.active {
display: block;
}
.tmw-progress-bar {
height: 8px;
background: #e9ecef;
border-radius: 4px;
overflow: hidden;
}
.tmw-progress-fill {
height: 100%;
background: linear-gradient(90deg, var(--tmw-primary) 0%, #00d4d5 100%);
border-radius: 4px;
transition: width 0.3s ease;
width: 0%;
}
.tmw-progress-text {
margin-top: 8px;
font-size: 0.85rem;
color: #495057;
} .tmw-video-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.95);
z-index: 9999;
display: none;
align-items: center;
justify-content: center;
}
.tmw-video-modal.active {
display: flex;
}
.tmw-video-modal-content {
max-width: 90vw;
max-height: 90vh;
}
.tmw-video-modal video {
max-width: 100%;
max-height: 90vh;
border-radius: 8px;
}
.tmw-video-modal-close {
position: absolute;
top: 20px;
right: 20px;
width: 44px;
height: 44px;
background: rgba(255, 255, 255, 0.2);
border: none;
border-radius: 50%;
color: white;
font-size: 24px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.3s ease;
}
.tmw-video-modal-close:hover {
background: rgba(255, 255, 255, 0.4);
} @media (max-width: 768px) {
.tmw-video-play-btn {
width: 50px;
height: 50px;
}
.tmw-video-play-btn::after {
border-left-width: 16px;
border-top-width: 10px;
border-bottom-width: 10px;
}
.tmw-video-duration {
font-size: 11px;
padding: 2px 6px;
}
.tmw-video-badge {
font-size: 11px;
padding: 3px 6px;
}
} .tmw-upload-status {
margin-top: 10px;
padding: 10px 15px;
border-radius: 8px;
font-size: 0.9rem;
}
.tmw-upload-status.processing {
background: #fff3cd;
color: #856404;
}
.tmw-upload-status.success {
background: #d4edda;
color: #155724;
}
.tmw-upload-status.error {
background: #f8d7da;
color: #721c24;
} .tmw-video-recorder {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
border-radius: 16px;
padding: 20px;
margin-top: 20px;
text-align: center;
}
.tmw-video-preview-container {
position: relative;
width: 100%;
max-width: 400px;
margin: 0 auto 20px;
border-radius: 12px;
overflow: hidden;
background: #000;
aspect-ratio: 16/9;
}
.tmw-video-preview {
width: 100%;
height: 100%;
object-fit: cover;
}
.tmw-video-countdown {
position: absolute;
top: 15px;
right: 15px;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 8px 16px;
border-radius: 20px;
font-size: 1.2rem;
font-weight: bold;
font-variant-numeric: tabular-nums;
}
.tmw-video-countdown.warning {
background: #dc3545;
animation: tmw-pulse 0.5s ease-in-out infinite;
}
@keyframes tmw-pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); }
}
.tmw-video-rec-indicator {
position: absolute;
top: 15px;
left: 15px;
background: #dc3545;
color: white;
padding: 6px 12px;
border-radius: 4px;
font-size: 0.85rem;
font-weight: bold;
display: none;
align-items: center;
gap: 6px;
animation: tmw-blink 1s ease-in-out infinite;
}
@keyframes tmw-blink {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.tmw-video-controls {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
}
.tmw-btn-record {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 16px 32px;
background: linear-gradient(135deg, var(--tmw-orange) 0%, #e67e00 100%);
color: white;
border: none;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(244, 143, 0, 0.4);
}
.tmw-btn-record:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(244, 143, 0, 0.5);
}
.tmw-btn-record:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.tmw-btn-record.recording {
background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
animation: tmw-recording-pulse 1.5s ease-in-out infinite;
}
@keyframes tmw-recording-pulse {
0%, 100% { box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4); }
50% { box-shadow: 0 4px 25px rgba(220, 53, 69, 0.7); }
}
.tmw-btn-record-icon {
font-size: 1.3em;
}
.tmw-video-info {
display: flex;
gap: 20px;
color: rgba(255, 255, 255, 0.7);
font-size: 0.9rem;
}
.tmw-video-remaining {
color: var(--tmw-primary);
font-weight: 600;
}
.tmw-video-recorder .tmw-video-status {
margin-top: 15px;
padding: 12px 20px;
border-radius: 8px;
font-weight: 500;
}
.tmw-video-recorder .tmw-video-status.uploading {
background: rgba(0, 174, 175, 0.2);
color: var(--tmw-primary);
}
.tmw-video-recorder .tmw-video-status.success {
background: rgba(40, 167, 69, 0.2);
color: #28a745;
}
.tmw-video-recorder .tmw-video-status.error {
background: rgba(220, 53, 69, 0.2);
color: #dc3545;
}
.tmw-video-recorder .tmw-upload-progress {
margin-top: 15px;
max-width: 300px;
margin-left: auto;
margin-right: auto;
}
.tmw-video-recorder .tmw-progress-bar {
background: rgba(255, 255, 255, 0.1);
}
.tmw-video-recorder .tmw-progress-text {
color: rgba(255, 255, 255, 0.8);
}
.tmw-video-recorder-error,
.tmw-video-recorder-disabled {
padding: 30px 20px;
color: rgba(255, 255, 255, 0.8);
}
.tmw-video-recorder-disabled {
background: linear-gradient(135deg, #2d2d44 0%, #1a1a2e 100%);
border-radius: 16px;
margin-top: 20px;
} @media (max-width: 768px) {
.tmw-video-recorder {
padding: 15px;
}
.tmw-btn-record {
padding: 14px 28px;
font-size: 1rem;
}
.tmw-video-info {
flex-direction: column;
gap: 5px;
}
.tmw-video-countdown {
font-size: 1rem;
padding: 6px 12px;
}
} .tmw-videos-section {
margin-top: 40px;
}
.tmw-videos {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 15px;
margin-top: 20px;
}
.tmw-video-item {
position: relative;
aspect-ratio: 16/9;
background: #1a1a2e;
border-radius: 12px;
overflow: hidden;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tmw-video-item:hover {
transform: scale(1.03);
box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.tmw-video-item img {
width: 100%;
height: 100%;
object-fit: cover;
}
.tmw-video-placeholder {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
font-size: 48px;
}
.tmw-video-play {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 60px;
height: 60px;
background: rgba(255,255,255,0.9);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: #333;
transition: transform 0.3s ease, background 0.3s ease;
}
.tmw-video-item:hover .tmw-video-play {
transform: translate(-50%, -50%) scale(1.1);
background: #fff;
}
.tmw-video-duration {
position: absolute;
bottom: 8px;
right: 8px;
background: rgba(0,0,0,0.8);
color: #fff;
padding: 2px 8px;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
} .tmw-video-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.95);
z-index: 10000;
align-items: center;
justify-content: center;
}
.tmw-video-modal.active {
display: flex;
}
.tmw-video-modal video {
max-width: 90%;
max-height: 85%;
border-radius: 8px;
}
.tmw-video-modal-close {
position: absolute;
top: 20px;
right: 30px;
font-size: 40px;
color: #fff;
cursor: pointer;
z-index: 10001;
transition: transform 0.2s ease;
}
.tmw-video-modal-close:hover {
transform: scale(1.2);
}