socialhub / styles.css
vscode's picture
Upload 4 files
e1fabf0 verified
/* ===== CSS Variables ===== */
:root {
--primary-bg: #0a0e27;
--secondary-bg: #151a35;
--accent-color: #00d4ff;
--text-primary: #ffffff;
--text-secondary: #a8b2d1;
--card-shadow: rgba(0, 212, 255, 0.15);
--success-color: #00ff88;
--warning-color: #ffa502;
--danger-color: #ff4757;
/* Social Media Colors */
--facebook: linear-gradient(135deg, #1877f2, #0d5dbf);
--instagram: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
--twitter: linear-gradient(135deg, #1da1f2, #0d8bd9);
--linkedin: linear-gradient(135deg, #0077b5, #005582);
--youtube: linear-gradient(135deg, #ff0000, #cc0000);
--tiktok: linear-gradient(135deg, #000000, #ee1d52, #69c9d0);
--reddit: linear-gradient(135deg, #ff4500, #cc3700);
--whatsapp: linear-gradient(135deg, #25d366, #1da851);
--telegram: linear-gradient(135deg, #0088cc, #006699);
--discord: linear-gradient(135deg, #5865f2, #4752c4);
--snapchat: linear-gradient(135deg, #fffc00, #ccca00);
--pinterest: linear-gradient(135deg, #e60023, #bd001c);
}
/* Light Mode Variables */
body.light-mode {
--primary-bg: #f5f7fa;
--secondary-bg: #ffffff;
--text-primary: #1a1a2e;
--text-secondary: #4a5568;
--card-shadow: rgba(0, 0, 0, 0.1);
}
/* ===== Global Styles ===== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: var(--primary-bg);
color: var(--text-primary);
min-height: 100vh;
overflow-x: hidden;
position: relative;
transition: background 0.3s ease, color 0.3s ease;
}
/* Light Mode Particles */
body.light-mode #particles {
opacity: 0.2;
filter: invert(1);
}
/* ===== Particles Background ===== */
#particles {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
opacity: 0.6;
}
/* ===== Container ===== */
.container {
max-width: 1400px;
margin: 0 auto;
padding: 2rem;
position: relative;
z-index: 1;
}
/* ===== Header ===== */
.header {
text-align: center;
margin-bottom: 2rem;
animation: fadeInDown 0.8s ease-out;
}
.header-top {
display: flex;
justify-content: flex-end;
margin-bottom: 1rem;
}
.header-controls {
display: flex;
gap: 0.5rem;
align-items: center;
}
.control-icon-btn {
padding: 0.6rem 1rem;
background: rgba(0, 212, 255, 0.1);
border: 2px solid rgba(0, 212, 255, 0.3);
border-radius: 10px;
color: var(--accent-color);
cursor: pointer;
font-size: 1rem;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 0.5rem;
}
.control-icon-btn:hover {
background: var(--accent-color);
color: var(--primary-bg);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}
.system-status {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
margin-top: 1rem;
padding: 0.5rem 1.5rem;
background: rgba(0, 255, 136, 0.1);
border: 1px solid rgba(0, 255, 136, 0.3);
border-radius: 50px;
color: var(--success-color);
font-size: 0.9rem;
max-width: fit-content;
margin-left: auto;
margin-right: auto;
}
.logo-section {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
margin-bottom: 1rem;
}
.logo-icon {
width: 60px;
height: 60px;
background: linear-gradient(135deg, var(--accent-color), #00a8cc);
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
animation: pulse 2s infinite;
}
.title {
font-size: 3.5rem;
font-weight: 700;
background: linear-gradient(135deg, var(--accent-color), #00ff88);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}
.subtitle {
font-size: 1.2rem;
color: var(--text-secondary);
font-weight: 300;
letter-spacing: 1px;
}
/* ===== Filter Tabs ===== */
.filter-tabs {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 2rem;
animation: fadeInUp 0.8s ease-out 0.1s backwards;
}
.filter-tab {
padding: 0.7rem 1.5rem;
background: var(--secondary-bg);
border: 2px solid rgba(0, 212, 255, 0.3);
border-radius: 25px;
color: var(--text-secondary);
cursor: pointer;
font-size: 0.95rem;
font-weight: 500;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 0.5rem;
}
.filter-tab:hover {
border-color: var(--accent-color);
color: var(--accent-color);
transform: translateY(-2px);
}
.filter-tab.active {
background: var(--accent-color);
border-color: var(--accent-color);
color: var(--primary-bg);
box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}
.filter-tab i {
font-size: 1rem;
}
/* ===== Search Bar ===== */
.search-container {
position: relative;
max-width: 600px;
margin: 0 auto 3rem;
animation: fadeInUp 0.8s ease-out 0.2s backwards;
}
.search-bar {
width: 100%;
padding: 1rem 3rem 1rem 1.5rem;
font-size: 1rem;
background: var(--secondary-bg);
border: 2px solid rgba(0, 212, 255, 0.3);
border-radius: 50px;
color: var(--text-primary);
outline: none;
transition: all 0.3s ease;
}
.search-bar:focus {
border-color: var(--accent-color);
box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}
.search-bar::placeholder {
color: var(--text-secondary);
}
.search-icon {
position: absolute;
right: 1.5rem;
top: 50%;
transform: translateY(-50%);
color: var(--accent-color);
font-size: 1.2rem;
}
/* ===== Recent Timeline ===== */
.recent-timeline {
max-width: 900px;
margin: 0 auto 2rem;
padding: 1.5rem;
background: var(--secondary-bg);
border-radius: 15px;
border: 2px solid rgba(0, 212, 255, 0.2);
animation: fadeInUp 0.6s ease-out;
}
.recent-timeline h3 {
color: var(--accent-color);
margin-bottom: 1rem;
font-size: 1.3rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.timeline-items {
display: flex;
flex-direction: column;
gap: 0.8rem;
}
.timeline-item {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.8rem;
background: rgba(0, 212, 255, 0.05);
border-radius: 10px;
border-left: 3px solid var(--accent-color);
cursor: pointer;
transition: all 0.3s ease;
}
.timeline-item:hover {
background: rgba(0, 212, 255, 0.1);
transform: translateX(5px);
}
.timeline-item i {
font-size: 1.5rem;
color: var(--accent-color);
}
.timeline-info {
flex: 1;
}
.timeline-info h4 {
color: var(--text-primary);
font-size: 1rem;
margin-bottom: 0.2rem;
}
.timeline-info span {
color: var(--text-secondary);
font-size: 0.85rem;
}
/* ===== Social Media Grid ===== */
.social-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
/* ===== Social Card ===== */
.social-card {
position: relative;
animation: fadeInUp 0.6s ease-out backwards;
animation-delay: calc(var(--card-index) * 0.1s);
}
.social-card:nth-child(1) { --card-index: 1; }
.social-card:nth-child(2) { --card-index: 2; }
.social-card:nth-child(3) { --card-index: 3; }
.social-card:nth-child(4) { --card-index: 4; }
.social-card:nth-child(5) { --card-index: 5; }
.social-card:nth-child(6) { --card-index: 6; }
.social-card:nth-child(7) { --card-index: 7; }
.social-card:nth-child(8) { --card-index: 8; }
.social-card:nth-child(9) { --card-index: 9; }
.social-card:nth-child(10) { --card-index: 10; }
.social-card:nth-child(11) { --card-index: 11; }
.social-card:nth-child(12) { --card-index: 12; }
.card-inner {
position: relative;
height: 280px;
border-radius: 20px;
transition: transform 0.3s ease;
}
.social-card:hover .card-inner {
transform: translateY(-10px);
}
.card-front {
position: absolute;
width: 100%;
height: 100%;
border-radius: 20px;
padding: 2rem;
display: flex;
flex-direction: column;
justify-content: space-between;
box-shadow: 0 10px 40px var(--card-shadow);
transition: all 0.3s ease;
overflow: hidden;
}
.card-front::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.05);
opacity: 0;
transition: opacity 0.3s ease;
}
.social-card:hover .card-front::before {
opacity: 1;
}
/* Card Top Controls */
.card-top-controls {
display: flex;
justify-content: flex-end;
gap: 0.5rem;
margin-bottom: 0.5rem;
position: relative;
z-index: 5;
}
.favorite-btn,
.note-btn {
width: 32px;
height: 32px;
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
border: none;
border-radius: 8px;
color: white;
cursor: pointer;
font-size: 0.9rem;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.favorite-btn:hover,
.note-btn:hover {
background: rgba(255, 255, 255, 0.3);
transform: scale(1.1);
}
.favorite-btn.active {
background: rgba(255, 215, 0, 0.9);
color: #fff;
}
.favorite-btn.active i {
font-weight: 900;
}
.note-btn.has-note {
background: rgba(0, 212, 255, 0.8);
}
.status-indicator {
width: 12px;
height: 12px;
border-radius: 50%;
background: var(--success-color);
border: 2px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 0 10px var(--success-color);
animation: pulse 2s infinite;
}
.status-indicator.offline {
background: var(--danger-color);
box-shadow: 0 0 10px var(--danger-color);
}
/* Platform Specific Backgrounds */
.facebook-bg { background: var(--facebook); }
.instagram-bg { background: var(--instagram); }
.twitter-bg { background: var(--twitter); }
.linkedin-bg { background: var(--linkedin); }
.youtube-bg { background: var(--youtube); }
.tiktok-bg { background: var(--tiktok); }
.reddit-bg { background: var(--reddit); }
.whatsapp-bg { background: var(--whatsapp); }
.telegram-bg { background: var(--telegram); }
.discord-bg { background: var(--discord); }
.snapchat-bg { background: var(--snapchat); }
.pinterest-bg { background: var(--pinterest); }
/* Platform Logo */
.platform-logo {
width: 70px;
height: 70px;
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2.2rem;
margin-bottom: 1rem;
transition: all 0.3s ease;
border: 2px solid rgba(255, 255, 255, 0.3);
}
.social-card:hover .platform-logo {
transform: rotate(360deg) scale(1.1);
background: rgba(255, 255, 255, 0.3);
}
.platform-name {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 0.5rem;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.platform-desc {
font-size: 0.9rem;
opacity: 0.9;
margin-bottom: 1rem;
line-height: 1.4;
}
.platform-badges {
display: flex;
gap: 0.5rem;
align-items: center;
margin-bottom: 0.5rem;
flex-wrap: wrap;
}
.visit-badge {
padding: 0.3rem 0.7rem;
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
border-radius: 12px;
font-size: 0.75rem;
font-weight: 600;
display: flex;
align-items: center;
gap: 0.3rem;
}
.note-indicator {
padding: 0.3rem 0.5rem;
background: rgba(0, 212, 255, 0.3);
border-radius: 8px;
font-size: 0.75rem;
display: flex;
align-items: center;
}
.card-stats {
display: flex;
gap: 1rem;
font-size: 0.85rem;
opacity: 0.85;
}
.card-stats i {
margin-right: 0.3rem;
}
/* Launch Button */
.launch-btn {
position: absolute;
bottom: -20px;
left: 50%;
transform: translateX(-50%);
padding: 0.8rem 2rem;
background: var(--accent-color);
color: var(--primary-bg);
text-decoration: none;
border-radius: 50px;
font-weight: 600;
font-size: 0.9rem;
opacity: 0;
transition: all 0.3s ease;
box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
z-index: 10;
}
.social-card:hover .launch-btn {
opacity: 1;
bottom: 1.5rem;
}
.launch-btn:hover {
background: #00ff88;
transform: translateX(-50%) scale(1.05);
box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5);
}
.launch-btn i {
margin-right: 0.5rem;
}
/* ===== Footer ===== */
.footer {
text-align: center;
padding: 2rem 0;
border-top: 1px solid rgba(168, 178, 209, 0.1);
margin-top: 3rem;
animation: fadeIn 1s ease-out 0.5s backwards;
}
.footer p {
color: var(--text-secondary);
margin-bottom: 1rem;
}
.footer-links {
display: flex;
justify-content: center;
gap: 2rem;
}
.footer-links a {
color: var(--accent-color);
text-decoration: none;
transition: all 0.3s ease;
font-size: 0.9rem;
}
.footer-links a:hover {
color: #00ff88;
transform: translateY(-2px);
}
.footer-links a i {
margin-right: 0.5rem;
}
/* ===== Animations ===== */
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
/* ===== Responsive Design ===== */
@media (max-width: 768px) {
.container {
padding: 1rem;
}
.title {
font-size: 2.5rem;
}
.subtitle {
font-size: 1rem;
}
.header-controls {
flex-wrap: wrap;
}
.control-icon-btn {
padding: 0.5rem 0.8rem;
font-size: 0.9rem;
}
.filter-tabs {
gap: 0.5rem;
}
.filter-tab {
padding: 0.5rem 1rem;
font-size: 0.85rem;
}
.social-grid {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 1.5rem;
}
.footer-links {
flex-direction: column;
gap: 1rem;
}
.analytics-stats {
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.stat-card h3 {
font-size: 1.5rem;
}
.time-tracker {
bottom: 1rem;
right: 1rem;
left: 1rem;
}
}
@media (max-width: 480px) {
.logo-section {
flex-direction: column;
}
.title {
font-size: 2rem;
}
.social-grid {
grid-template-columns: 1fr;
}
}
/* ===== Hidden Class for Search ===== */
.hidden {
display: none !important;
}
/* ===== Snapchat Special Styling ===== */
.snapchat-bg .platform-logo,
.snapchat-bg .platform-name,
.snapchat-bg .platform-desc,
.snapchat-bg .card-stats {
color: #000000;
}
/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: var(--primary-bg);
}
::-webkit-scrollbar-thumb {
background: var(--accent-color);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #00ff88;
}
/* ===== Modal Styles ===== */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(10, 14, 39, 0.95);
backdrop-filter: blur(10px);
z-index: 1000;
animation: fadeIn 0.3s ease;
}
.modal.active {
display: flex;
align-items: center;
justify-content: center;
}
.modal-content {
width: 95%;
height: 90%;
max-width: 1600px;
background: var(--secondary-bg);
border-radius: 20px;
overflow: hidden;
box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
border: 2px solid rgba(0, 212, 255, 0.2);
display: flex;
flex-direction: column;
animation: slideUp 0.4s ease;
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(50px) scale(0.95);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
/* Modal Header */
.modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1.5rem 2rem;
background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 168, 204, 0.05));
border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}
.modal-title {
display: flex;
align-items: center;
gap: 1rem;
font-size: 1.5rem;
font-weight: 600;
color: var(--text-primary);
}
.modal-title .platform-icon {
font-size: 2rem;
color: var(--accent-color);
}
.modal-controls {
display: flex;
gap: 0.5rem;
}
.modal-btn {
width: 40px;
height: 40px;
border: none;
background: rgba(0, 212, 255, 0.1);
color: var(--accent-color);
border-radius: 10px;
cursor: pointer;
font-size: 1rem;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.modal-btn:hover {
background: var(--accent-color);
color: var(--primary-bg);
transform: scale(1.1);
}
.close-btn:hover {
background: #ff4757;
color: white;
}
/* Modal Body */
.modal-body {
flex: 1;
position: relative;
background: var(--primary-bg);
overflow: hidden;
}
/* ===== Authentication Section ===== */
.auth-section {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
}
.auth-container {
max-width: 500px;
width: 100%;
text-align: center;
animation: fadeInUp 0.5s ease;
}
.auth-icon {
width: 100px;
height: 100px;
margin: 0 auto 2rem;
background: linear-gradient(135deg, var(--accent-color), #00a8cc);
border-radius: 25px;
display: flex;
align-items: center;
justify-content: center;
font-size: 3rem;
box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
animation: pulse 2s infinite;
}
.platform-icon-large {
font-size: 3.5rem;
color: white;
}
.auth-title {
font-size: 2rem;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 0.5rem;
}
.platform-name-text {
background: linear-gradient(135deg, var(--accent-color), #00ff88);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.auth-description {
font-size: 1rem;
color: var(--text-secondary);
margin-bottom: 3rem;
line-height: 1.6;
}
/* Auth Options */
.auth-options {
display: flex;
flex-direction: column;
gap: 1rem;
margin-bottom: 2rem;
}
.auth-btn {
width: 100%;
padding: 1.2rem 2rem;
border: none;
border-radius: 15px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.auth-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}
.auth-btn:hover::before {
left: 100%;
}
.auth-btn i {
font-size: 1.5rem;
}
/* Google Button */
.google-btn {
background: linear-gradient(135deg, #4285f4, #34a853);
color: white;
box-shadow: 0 5px 20px rgba(66, 133, 244, 0.3);
}
.google-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 30px rgba(66, 133, 244, 0.5);
}
/* Platform Button */
.platform-btn {
background: linear-gradient(135deg, var(--accent-color), #00a8cc);
color: white;
box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}
.platform-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}
/* Guest Button */
.guest-btn {
background: rgba(255, 255, 255, 0.1);
color: var(--text-primary);
border: 2px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.guest-btn:hover {
background: rgba(255, 255, 255, 0.15);
border-color: var(--accent-color);
transform: translateY(-3px);
box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}
/* Auth Footer */
.auth-footer {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 1.5rem;
background: rgba(0, 212, 255, 0.05);
border-radius: 10px;
border: 1px solid rgba(0, 212, 255, 0.1);
}
.auth-footer i {
color: var(--accent-color);
font-size: 1.2rem;
}
.auth-footer p {
font-size: 0.85rem;
color: var(--text-secondary);
margin: 0;
line-height: 1.4;
}
/* ===== Platform Section ===== */
.platform-section {
width: 100%;
height: 100%;
position: relative;
background: #000;
}
.platform-controls {
position: absolute;
top: 1rem;
right: 1rem;
display: flex;
gap: 0.5rem;
z-index: 10;
}
.control-btn {
width: 40px;
height: 40px;
border: none;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(10px);
color: var(--accent-color);
border-radius: 10px;
cursor: pointer;
font-size: 1rem;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid rgba(0, 212, 255, 0.2);
}
.control-btn:hover {
background: var(--accent-color);
color: var(--primary-bg);
transform: scale(1.1);
}
.logout-btn:hover {
background: #ff4757;
color: white;
border-color: #ff4757;
}
#platformFrame {
width: 100%;
height: 100%;
border: none;
display: block;
background: white;
}
/* Loading Spinner */
.loading-spinner {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: var(--accent-color);
}
.loading-spinner i {
font-size: 3rem;
margin-bottom: 1rem;
}
.loading-spinner p {
font-size: 1.2rem;
color: var(--text-secondary);
}
.loading-spinner.hidden {
display: none;
}
/* Fullscreen Mode */
.modal-content.fullscreen {
width: 100%;
height: 100%;
max-width: 100%;
border-radius: 0;
}
/* Mobile Responsive */
@media (max-width: 768px) {
.modal-content {
width: 100%;
height: 100%;
border-radius: 0;
}
.modal-header {
padding: 1rem;
}
.modal-title {
font-size: 1.2rem;
}
.modal-title .platform-icon {
font-size: 1.5rem;
}
.modal-btn {
width: 35px;
height: 35px;
font-size: 0.9rem;
}
.platform-title {
font-size: 1rem;
}
.auth-container {
padding: 1rem;
}
.auth-title {
font-size: 1.5rem;
}
.auth-btn {
padding: 1rem 1.5rem;
font-size: 1rem;
}
.platform-controls {
top: 0.5rem;
right: 0.5rem;
}
.control-btn {
width: 35px;
height: 35px;
}
}
/* ===== Notification Styles ===== */
.notification {
position: fixed;
top: 2rem;
right: -400px;
background: var(--secondary-bg);
color: var(--text-primary);
padding: 1rem 1.5rem;
border-radius: 10px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
border-left: 4px solid var(--accent-color);
display: flex;
align-items: center;
gap: 1rem;
z-index: 10000;
min-width: 300px;
transition: right 0.3s ease;
}
.notification.show {
right: 2rem;
}
.notification i {
font-size: 1.5rem;
}
.notification-success {
border-left-color: #00ff88;
}
.notification-success i {
color: #00ff88;
}
.notification-warning {
border-left-color: #ffa502;
}
.notification-warning i {
color: #ffa502;
}
.notification-info {
border-left-color: var(--accent-color);
}
.notification-info i {
color: var(--accent-color);
}
/* ===== Shortcuts Modal ===== */
.shortcuts-modal {
max-width: 600px;
max-height: 80vh;
}
.shortcuts-body {
padding: 2rem;
display: flex;
flex-direction: column;
gap: 1rem;
}
.shortcut-item {
display: flex;
align-items: center;
gap: 1.5rem;
padding: 1rem;
background: rgba(0, 212, 255, 0.05);
border-radius: 10px;
border-left: 3px solid var(--accent-color);
}
.shortcut-item kbd {
min-width: 50px;
padding: 0.5rem 1rem;
background: var(--secondary-bg);
border: 2px solid rgba(0, 212, 255, 0.3);
border-radius: 8px;
font-family: 'Courier New', monospace;
font-size: 0.9rem;
font-weight: 600;
color: var(--accent-color);
text-align: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.shortcut-item span {
flex: 1;
color: var(--text-primary);
font-size: 1rem;
}
/* ===== Analytics Modal ===== */
.analytics-modal {
max-width: 900px;
max-height: 85vh;
}
.analytics-body {
padding: 2rem;
overflow-y: auto;
}
.analytics-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
}
.stat-card {
padding: 1.5rem;
background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 168, 204, 0.05));
border-radius: 15px;
border: 2px solid rgba(0, 212, 255, 0.2);
text-align: center;
transition: all 0.3s ease;
}
.stat-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}
.stat-card i {
font-size: 2.5rem;
color: var(--accent-color);
margin-bottom: 1rem;
}
.stat-card h3 {
font-size: 2rem;
color: var(--text-primary);
margin-bottom: 0.5rem;
font-weight: 700;
}
.stat-card p {
color: var(--text-secondary);
font-size: 0.9rem;
margin: 0;
}
.analytics-chart {
background: rgba(0, 212, 255, 0.05);
padding: 2rem;
border-radius: 15px;
border: 2px solid rgba(0, 212, 255, 0.1);
}
.analytics-chart h3 {
color: var(--accent-color);
margin-bottom: 1.5rem;
font-size: 1.3rem;
}
.usage-chart {
display: flex;
flex-direction: column;
gap: 1rem;
}
.chart-bar {
display: flex;
align-items: center;
gap: 1rem;
}
.chart-label {
min-width: 120px;
color: var(--text-primary);
font-size: 0.95rem;
font-weight: 500;
}
.chart-bar-container {
flex: 1;
height: 30px;
background: rgba(255, 255, 255, 0.05);
border-radius: 15px;
overflow: hidden;
position: relative;
}
.chart-bar-fill {
height: 100%;
background: linear-gradient(90deg, var(--accent-color), var(--success-color));
border-radius: 15px;
transition: width 0.5s ease;
display: flex;
align-items: center;
justify-content: flex-end;
padding-right: 0.8rem;
color: white;
font-size: 0.85rem;
font-weight: 600;
}
/* ===== Add Platform Modal ===== */
.add-platform-modal {
max-width: 550px;
}
.add-platform-body {
padding: 2rem;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
color: var(--text-primary);
font-weight: 600;
margin-bottom: 0.5rem;
font-size: 0.95rem;
}
.form-group input,
.form-group select {
width: 100%;
padding: 0.9rem;
background: var(--secondary-bg);
border: 2px solid rgba(0, 212, 255, 0.3);
border-radius: 10px;
color: var(--text-primary);
font-size: 1rem;
transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus {
outline: none;
border-color: var(--accent-color);
box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}
.form-group input[type="color"] {
height: 50px;
cursor: pointer;
}
.submit-btn {
width: 100%;
padding: 1rem;
background: linear-gradient(135deg, var(--accent-color), var(--success-color));
border: none;
border-radius: 12px;
color: white;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.submit-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}
/* ===== Note Modal ===== */
.note-modal {
max-width: 550px;
}
.note-body {
padding: 2rem;
}
.note-body h3 {
color: var(--accent-color);
margin-bottom: 1rem;
font-size: 1.5rem;
}
.note-body textarea {
width: 100%;
padding: 1rem;
background: var(--secondary-bg);
border: 2px solid rgba(0, 212, 255, 0.3);
border-radius: 12px;
color: var(--text-primary);
font-size: 1rem;
font-family: inherit;
resize: vertical;
transition: all 0.3s ease;
}
.note-body textarea:focus {
outline: none;
border-color: var(--accent-color);
box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}
.note-actions {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
}
.cancel-btn,
.save-btn,
.delete-btn {
flex: 1;
padding: 0.9rem;
border: none;
border-radius: 10px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.cancel-btn {
background: rgba(255, 255, 255, 0.1);
color: var(--text-primary);
border: 2px solid rgba(255, 255, 255, 0.2);
}
.cancel-btn:hover {
background: rgba(255, 255, 255, 0.15);
}
.save-btn {
background: linear-gradient(135deg, var(--accent-color), var(--success-color));
color: white;
}
.save-btn:hover {
transform: translateY(-2px);
box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}
.delete-btn {
background: var(--danger-color);
color: white;
}
.delete-btn:hover {
transform: translateY(-2px);
box-shadow: 0 5px 20px rgba(255, 71, 87, 0.4);
}
/* ===== Time Tracker Widget ===== */
.time-tracker {
position: fixed;
bottom: 2rem;
right: 2rem;
background: var(--secondary-bg);
padding: 1rem 1.5rem;
border-radius: 15px;
border: 2px solid var(--accent-color);
box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
display: flex;
align-items: center;
gap: 1rem;
z-index: 999;
animation: slideInRight 0.5s ease;
}
@keyframes slideInRight {
from {
transform: translateX(400px);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
.tracker-header {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--text-primary);
font-weight: 600;
}
.tracker-header i {
color: var(--accent-color);
font-size: 1.2rem;
}
#trackerTime {
color: var(--accent-color);
font-family: 'Courier New', monospace;
font-size: 1.1rem;
}
.tracker-stop {
padding: 0.5rem 1rem;
background: var(--danger-color);
border: none;
border-radius: 8px;
color: white;
cursor: pointer;
font-size: 0.9rem;
transition: all 0.3s ease;
}
.tracker-stop:hover {
transform: scale(1.05);
box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}
/* ===== AI Caption Generator Modal ===== */
.ai-caption-modal {
max-width: 1000px;
max-height: 90vh;
}
.ai-caption-body {
padding: 2rem;
overflow-y: auto;
max-height: calc(90vh - 80px);
}
/* Upload Section */
.upload-section {
display: flex;
justify-content: center;
align-items: center;
min-height: 400px;
}
.upload-area {
width: 100%;
max-width: 500px;
padding: 3rem;
border: 3px dashed rgba(0, 212, 255, 0.3);
border-radius: 20px;
text-align: center;
background: rgba(0, 212, 255, 0.05);
transition: all 0.3s ease;
cursor: pointer;
}
.upload-area:hover {
border-color: var(--accent-color);
background: rgba(0, 212, 255, 0.1);
transform: translateY(-5px);
}
.upload-area i {
font-size: 4rem;
color: var(--accent-color);
margin-bottom: 1.5rem;
}
.upload-area h3 {
color: var(--text-primary);
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.upload-area p {
color: var(--text-secondary);
margin-bottom: 1.5rem;
}
.upload-btn {
padding: 0.9rem 2rem;
background: linear-gradient(135deg, var(--accent-color), var(--success-color));
border: none;
border-radius: 12px;
color: white;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.upload-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}
/* Results Section */
.results-section {
display: grid;
grid-template-columns: 1fr 1.5fr;
gap: 2rem;
}
.image-preview-container {
position: relative;
}
.image-preview-container img {
width: 100%;
max-height: 500px;
object-fit: contain;
border-radius: 15px;
border: 2px solid rgba(0, 212, 255, 0.2);
background: rgba(0, 0, 0, 0.3);
}
.change-image-btn {
width: 100%;
margin-top: 1rem;
padding: 0.8rem;
background: rgba(255, 255, 255, 0.1);
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 10px;
color: var(--text-primary);
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.change-image-btn:hover {
background: rgba(255, 255, 255, 0.15);
border-color: var(--accent-color);
}
/* AI Results */
.ai-results {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.result-card {
background: rgba(0, 212, 255, 0.05);
border: 2px solid rgba(0, 212, 255, 0.2);
border-radius: 15px;
padding: 1.5rem;
transition: all 0.3s ease;
}
.result-card:hover {
border-color: var(--accent-color);
background: rgba(0, 212, 255, 0.08);
}
.result-header {
display: flex;
align-items: center;
gap: 0.8rem;
margin-bottom: 1rem;
}
.result-header i {
font-size: 1.3rem;
color: var(--accent-color);
}
.result-header h4 {
color: var(--text-primary);
font-size: 1.1rem;
margin: 0;
}
.result-content {
color: var(--text-primary);
font-size: 1rem;
line-height: 1.8;
min-height: 60px;
padding: 1rem;
background: rgba(0, 0, 0, 0.2);
border-radius: 10px;
}
.result-content p {
margin: 0.5rem 0;
}
/* Loading Animation */
.loading-dots {
display: flex;
gap: 0.5rem;
justify-content: center;
align-items: center;
height: 60px;
}
.loading-dots span {
width: 10px;
height: 10px;
background: var(--accent-color);
border-radius: 50%;
animation: loadingBounce 1.4s infinite ease-in-out both;
}
.loading-dots span:nth-child(1) {
animation-delay: -0.32s;
}
.loading-dots span:nth-child(2) {
animation-delay: -0.16s;
}
@keyframes loadingBounce {
0%, 80%, 100% {
transform: scale(0);
}
40% {
transform: scale(1);
}
}
/* Post Section */
.post-section {
background: rgba(0, 212, 255, 0.05);
border: 2px solid rgba(0, 212, 255, 0.2);
border-radius: 15px;
padding: 1.5rem;
}
.post-section h4 {
color: var(--text-primary);
font-size: 1.1rem;
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.platform-select-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 1rem;
margin-bottom: 1.5rem;
}
.platform-post-btn {
padding: 0.9rem;
background: var(--secondary-bg);
border: 2px solid rgba(0, 212, 255, 0.3);
border-radius: 12px;
color: var(--text-primary);
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.platform-post-btn:hover {
background: var(--accent-color);
color: var(--primary-bg);
transform: translateY(-3px);
box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}
.platform-post-btn i {
font-size: 1.2rem;
}
.copy-buttons {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.copy-btn {
flex: 1;
min-width: 140px;
padding: 0.8rem 1.2rem;
background: rgba(0, 255, 136, 0.1);
border: 2px solid rgba(0, 255, 136, 0.3);
border-radius: 10px;
color: var(--success-color);
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.copy-btn:hover {
background: var(--success-color);
color: var(--primary-bg);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}
.copy-btn.copied {
background: var(--success-color);
color: white;
}
/* Responsive AI Modal */
@media (max-width: 768px) {
.results-section {
grid-template-columns: 1fr;
}
.platform-select-grid {
grid-template-columns: repeat(2, 1fr);
}
.copy-buttons {
flex-direction: column;
}
.copy-btn {
width: 100%;
}
}