improve the ui and fix the alignment of the components

This commit is contained in:
2026-01-02 18:27:41 +05:30
parent 6ff5a934b0
commit bb0531d6f8
11 changed files with 1911 additions and 614 deletions

View File

@@ -1,58 +1,401 @@
/* Page3.css */
/* Page3.css - Zoom Meeting Generator */
.container {
width: 100%;
max-width: 600px;
margin: 0 auto;
padding: 20px;
text-align: center;
font-family: Arial, sans-serif;
/* Page Container */
.page-container {
display: flex;
flex-direction: column;
min-height: 100vh;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
/* Header Bar */
.header-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 40px;
background-color: #ffffff;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
position: sticky;
top: 0;
z-index: 100;
gap: 20px;
}
.header-bar .leftlogo,
.header-bar .rightlogo {
height: 55px;
width: auto;
object-fit: contain;
flex-shrink: 0;
}
.header-bar .college-name {
font-size: clamp(20px, 3vw, 28px);
font-weight: 700;
color: #B7202E;
text-align: center;
flex-grow: 1;
margin: 0;
letter-spacing: -0.5px;
}
/* Navigation Bar */
.navbar {
background: linear-gradient(135deg, #B7202E, #8a1a24);
padding: 0 40px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.navbar ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 5px;
}
.navbar ul li {
margin: 0;
}
.navbar ul li a {
display: block;
color: #ffffff;
text-decoration: none;
font-weight: 500;
padding: 16px 24px;
transition: all 0.3s ease;
position: relative;
}
.navbar ul li a::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 3px;
background-color: #ffffff;
transition: all 0.3s ease;
transform: translateX(-50%);
}
.navbar ul li a:hover::after,
.navbar ul li a.active::after {
width: calc(100% - 48px);
}
.navbar ul li a:hover {
background-color: rgba(255, 255, 255, 0.1);
}
/* Zoom Container */
.zoom-container {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px 20px;
}
/* Zoom Card */
.zoom-card {
width: 100%;
max-width: 500px;
background: #ffffff;
border-radius: 20px;
padding: 50px 40px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
text-align: center;
animation: fadeInUp 0.5s ease-out;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
h1 {
font-size: 2rem;
margin-bottom: 20px;
color: #333;
to {
opacity: 1;
transform: translateY(0);
}
form {
margin-bottom: 20px;
}
/* Zoom Icon */
.zoom-icon {
width: 80px;
height: 80px;
background: linear-gradient(135deg, #B7202E, #8a1a24);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 25px;
box-shadow: 0 8px 25px rgba(183, 32, 46, 0.3);
}
.zoom-icon svg {
width: 40px;
height: 40px;
color: #ffffff;
}
/* Card Title */
.zoom-card h2 {
font-size: 28px;
font-weight: 700;
color: #212121;
margin: 0 0 12px;
letter-spacing: -0.5px;
}
/* Subtitle */
.zoom-card .subtitle {
color: #757575;
font-size: 15px;
line-height: 1.6;
margin: 0 0 35px;
}
/* Create Button */
.create-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
background: linear-gradient(135deg, #B7202E, #8a1a24);
color: #ffffff;
border: none;
padding: 16px 40px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
border-radius: 50px;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
box-shadow: 0 6px 20px rgba(183, 32, 46, 0.35);
min-width: 220px;
}
.create-btn:hover:not(:disabled) {
background: linear-gradient(135deg, #8a1a24, #6d1219);
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(183, 32, 46, 0.45);
}
.create-btn:active:not(:disabled) {
transform: translateY(-1px);
}
.create-btn:disabled {
opacity: 0.8;
cursor: not-allowed;
}
/* Spinner */
.spinner {
width: 20px;
height: 20px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top-color: #ffffff;
border-radius: 50%;
animation: spin 0.8s linear infinite;
display: inline-block;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Meeting Details */
.meeting-details {
margin-top: 35px;
padding: 25px;
background: linear-gradient(135deg, #f8f9fa, #ffffff);
border-radius: 16px;
border: 1px solid #e0e0e0;
text-align: left;
animation: slideIn 0.4s ease-out;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(20px);
}
button {
background-color: #007bff;
color: white;
border: none;
padding: 10px 20px;
font-size: 1rem;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s;
to {
opacity: 1;
transform: translateY(0);
}
button:hover {
background-color: #0056b3;
}
#meetingDetails {
margin-top: 20px;
}
/* Success Badge */
.success-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: linear-gradient(135deg, #4CAF50, #45a049);
color: #ffffff;
padding: 10px 20px;
border-radius: 50px;
font-size: 14px;
font-weight: 600;
margin-bottom: 20px;
}
/* Detail Item */
.detail-item {
margin-bottom: 15px;
padding-bottom: 15px;
border-bottom: 1px solid #e0e0e0;
}
.detail-item:last-of-type {
margin-bottom: 20px;
}
.detail-label {
display: block;
font-size: 12px;
font-weight: 600;
color: #B7202E;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 6px;
}
.detail-value {
font-size: 16px;
color: #212121;
font-weight: 500;
}
.detail-link {
font-size: 14px;
color: #B7202E;
text-decoration: none;
word-break: break-all;
transition: all 0.2s ease;
}
.detail-link:hover {
color: #8a1a24;
text-decoration: underline;
}
/* Copy Button */
.copy-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
background: #f5f5f5;
color: #424242;
border: 2px solid #e0e0e0;
padding: 12px 24px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
border-radius: 10px;
transition: all 0.3s ease;
width: 100%;
}
.copy-btn:hover {
background: #B7202E;
color: #ffffff;
border-color: #B7202E;
}
/* Back Link */
.back-link {
display: inline-flex;
align-items: center;
gap: 8px;
margin-top: 30px;
color: #757575;
font-size: 14px;
font-weight: 500;
text-decoration: none;
transition: all 0.2s ease;
}
.back-link:hover {
color: #B7202E;
}
/* Responsive */
@media (max-width: 768px) {
.header-bar {
flex-direction: column;
padding: 15px;
background-color: #f8f9fa;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
gap: 10px;
}
#meetingDetails p {
font-size: 1rem;
color: #333;
.header-bar .college-name {
order: -1;
font-size: 22px;
}
#meetingDetails a {
color: #007bff;
text-decoration: none;
.navbar {
padding: 0 15px;
}
#meetingDetails a:hover {
text-decoration: underline;
.navbar ul li a {
padding: 12px 16px;
font-size: 14px;
}
.zoom-container {
padding: 30px 15px;
}
.zoom-card {
padding: 40px 25px;
}
.zoom-card h2 {
font-size: 24px;
}
.create-btn {
padding: 14px 30px;
font-size: 14px;
min-width: 180px;
}
}
@media (max-width: 480px) {
.zoom-icon {
width: 70px;
height: 70px;
}
.zoom-icon svg {
width: 35px;
height: 35px;
}
.zoom-card h2 {
font-size: 22px;
}
.zoom-card .subtitle {
font-size: 14px;
}
.navbar ul {
justify-content: center;
}
.navbar ul li a {
padding: 10px 12px;
font-size: 13px;
}
}